diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-05 15:24:12 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-05 15:29:20 +0200 |
commit | 4ebee3534791a84ec23422f110dc7d1334273f70 (patch) | |
tree | b4ac645336eb0bb5fe152145530b31a1c609e4d7 /main/gdk-pixbuf/glibc-malloc.patch | |
parent | 410bd401e8f86cf2062bb7b61ffdc5238d69dc00 (diff) | |
download | aports-4ebee3534791a84ec23422f110dc7d1334273f70.tar.bz2 aports-4ebee3534791a84ec23422f110dc7d1334273f70.tar.xz |
main/gdk-pixbuf: security upgrade to 2.32.1
Diffstat (limited to 'main/gdk-pixbuf/glibc-malloc.patch')
-rw-r--r-- | main/gdk-pixbuf/glibc-malloc.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/gdk-pixbuf/glibc-malloc.patch b/main/gdk-pixbuf/glibc-malloc.patch new file mode 100644 index 0000000000..6986d17464 --- /dev/null +++ b/main/gdk-pixbuf/glibc-malloc.patch @@ -0,0 +1,28 @@ +Work around for a test that should not build on non-glibc systems. + +Problem and proper fix is reported to: +https://bugzilla.gnome.org/show_bug.cgi?id=756078 + +diff --git a/tests/pixbuf-lowmem.c b/tests/pixbuf-lowmem.c +index ae71788..9e9571f 100644 +--- a/tests/pixbuf-lowmem.c ++++ b/tests/pixbuf-lowmem.c +@@ -24,6 +24,7 @@ + #include <time.h> + #include <string.h> + ++#ifdef __GLIBC__ + #define PRETEND_MEM_SIZE (16 * 1024 * 1024) + #define REMAINING_MEM_SIZE 100000 + +@@ -225,3 +226,10 @@ main (int argc, char **argv) + + return 0; + } ++#else ++int ++main (int argc, char **argv) ++{ ++ return 0; ++} ++#endif |