summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r--meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/libc_memfuncs.patch63
-rw-r--r--meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.3.bb (renamed from meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.1.bb)5
2 files changed, 2 insertions, 66 deletions
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/libc_memfuncs.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/libc_memfuncs.patch
deleted file mode 100644
index 82a27c3ac4..0000000000
--- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/libc_memfuncs.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1From 205a3b04e1216c1df199aec95185f7f48b8e0491 Mon Sep 17 00:00:00 2001
2From: Natanael Copa <ncopa@alpinelinux.org>
3Date: Tue, 6 Oct 2015 09:11:38 +0200
4Subject: Run only pixbuf-lowmem test on GNU libc
5
6The test case depends on GNU libc specific internals so we only run it
7on GNU libc.
8
9This fixes build on Linux with musl libc.
10
11https://bugzilla.gnome.org/show_bug.cgi?id=756078
12---
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14Upstream-Status: Backport
15
16 tests/Makefile.am | 5 -----
17 tests/pixbuf-lowmem.c | 8 ++++++++
18 2 files changed, 8 insertions(+), 5 deletions(-)
19
20diff --git a/tests/Makefile.am b/tests/Makefile.am
21index bdd68f3..c122188 100644
22--- a/tests/Makefile.am
23+++ b/tests/Makefile.am
24@@ -19,13 +19,8 @@ LDADD = \
25 noinst_PROGRAMS += \
26 pixbuf-read \
27 pixbuf-random \
28- $(NULL)
29-
30-if OS_LINUX
31-noinst_PROGRAMS += \
32 pixbuf-lowmem \
33 $(NULL)
34-endif
35
36 test_programs = \
37 animation \
38diff --git a/tests/pixbuf-lowmem.c b/tests/pixbuf-lowmem.c
39index ae71788..9e9571f 100644
40--- a/tests/pixbuf-lowmem.c
41+++ b/tests/pixbuf-lowmem.c
42@@ -24,6 +24,7 @@
43 #include <time.h>
44 #include <string.h>
45
46+#ifdef __GLIBC__
47 #define PRETEND_MEM_SIZE (16 * 1024 * 1024)
48 #define REMAINING_MEM_SIZE 100000
49
50@@ -225,3 +226,10 @@ main (int argc, char **argv)
51
52 return 0;
53 }
54+#else
55+int
56+main (int argc, char **argv)
57+{
58+ return 0;
59+}
60+#endif
61--
62cgit v0.11.2
63
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.1.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.3.bb
index 104c743914..ed9c2326e5 100644
--- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.1.bb
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.3.bb
@@ -17,11 +17,10 @@ SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
17 file://extending-libinstall-dependencies.patch \ 17 file://extending-libinstall-dependencies.patch \
18 file://run-ptest \ 18 file://run-ptest \
19 file://fatal-loader.patch \ 19 file://fatal-loader.patch \
20 file://libc_memfuncs.patch \
21 " 20 "
22 21
23SRC_URI[md5sum] = "b1590189a2e89fab9f871959c168508c" 22SRC_URI[md5sum] = "9275076639baa24a342f3e02c402920e"
24SRC_URI[sha256sum] = "4432b74f25538c7d6bcb3ca51adabdd666168955f25812a2568dc9637697f3bc" 23SRC_URI[sha256sum] = "2b6771f1ac72f687a8971e59810b8dc658e65e7d3086bd2e676e618fd541d031"
25 24
26inherit autotools pkgconfig gettext pixbufcache ptest-gnome upstream-version-is-even 25inherit autotools pkgconfig gettext pixbufcache ptest-gnome upstream-version-is-even
27 26