* debian/patches/080-reftest-Add-missing-include-of-reftest-snapshot.h.patch

+ Added. Adds missing #include in the reftest test. While seemingly
    harmless on s390 due to the missing include the return type of a function
    the snapshot function is assumed to be int, while it should have been a
    pointer. This causes incorrect casting in the resulting code leading to
    crashes.. (From upstream git)
This commit is contained in:
Sjoerd Simons
2014-09-29 21:24:35 +00:00
parent c02d9bafa2
commit db621f5271
3 changed files with 36 additions and 0 deletions

11
debian/changelog vendored
View File

@ -1,3 +1,14 @@
gtk+3.0 (3.14.0-2) UNRELEASED; urgency=medium
* debian/patches/080-reftest-Add-missing-include-of-reftest-snapshot.h.patch
+ Added. Adds missing #include in the reftest test. While seemingly
harmless on s390 due to the missing include the return type of a function
the snapshot function is assumed to be int, while it should have been a
pointer. This causes incorrect casting in the resulting code leading to
crashes.. (From upstream git)
-- Sjoerd Simons <sjoerd@debian.org> Mon, 29 Sep 2014 23:17:18 +0200
gtk+3.0 (3.14.0-1) unstable; urgency=medium
* New upstream release.

View File

@ -0,0 +1,24 @@
From aa08b87ab67ec05c5547e7dda2dbefbf6c8fca4e Mon Sep 17 00:00:00 2001
From: Rico Tzschichholz <ricotz@ubuntu.com>
Date: Mon, 22 Sep 2014 15:19:51 +0200
Subject: [PATCH] reftest: Add missing include of reftest-snapshot.h
---
testsuite/reftests/gtk-reftest.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/testsuite/reftests/gtk-reftest.c b/testsuite/reftests/gtk-reftest.c
index 4f5b6f4..42d914f 100644
--- a/testsuite/reftests/gtk-reftest.c
+++ b/testsuite/reftests/gtk-reftest.c
@@ -22,6 +22,7 @@
#include "reftest-compare.h"
#include "reftest-module.h"
+#include "reftest-snapshot.h"
#include <string.h>
#include <glib/gstdio.h>
--
2.1.1

View File

@ -11,3 +11,4 @@
060_ignore-random-icons.patch
061_multiarch_module_fallback.patch
071_fix-installation-of-HTML-images.patch
080-reftest-Add-missing-include-of-reftest-snapshot.h.patch