pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gdk-pixbuf2 gdk-pixbuf2: SunOS build fix



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d18f8ce87f0d
branches:  trunk
changeset: 336763:d18f8ce87f0d
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Jul 22 22:04:35 2019 +0000

description:
gdk-pixbuf2: SunOS build fix

Tested-by: wilbury @ #pkgsrc

diffstat:

 graphics/gdk-pixbuf2/distinfo                  |   3 ++-
 graphics/gdk-pixbuf2/patches/patch-meson.build |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 8a09597a085b -r d18f8ce87f0d graphics/gdk-pixbuf2/distinfo
--- a/graphics/gdk-pixbuf2/distinfo     Mon Jul 22 15:11:16 2019 +0000
+++ b/graphics/gdk-pixbuf2/distinfo     Mon Jul 22 22:04:35 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.40 2019/07/21 10:11:13 wiz Exp $
+$NetBSD: distinfo,v 1.41 2019/07/22 22:04:35 tnn Exp $
 
 SHA1 (gdk-pixbuf-2.38.1.tar.xz) = 52a3ac673ec558e3eabb611256b74432b29945d7
 RMD160 (gdk-pixbuf-2.38.1.tar.xz) = 4404509b3d51958afbba6bb2c3e8a10671622092
 SHA512 (gdk-pixbuf-2.38.1.tar.xz) = e50badaad2ccb3c816ba0849be386ecb75ea3c7df203d0b0144541c463ad1ace86c0d190b7550e3f59f0cba9639acc5cc048b7127484287894e4df6d62777920
 Size (gdk-pixbuf-2.38.1.tar.xz) = 5509328 bytes
 SHA1 (patch-gdk-pixbuf_gdk-pixbuf-scaled-anim.c) = 486db8d3f352b0d72b7074ba48f14ccbfa09deda
+SHA1 (patch-meson.build) = e3142cb95b818662fbbdf636977e88e0f5232459
diff -r 8a09597a085b -r d18f8ce87f0d graphics/gdk-pixbuf2/patches/patch-meson.build
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gdk-pixbuf2/patches/patch-meson.build    Mon Jul 22 22:04:35 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-meson.build,v 1.1 2019/07/22 22:04:35 tnn Exp $
+
+-D_XOPEN_SOURCE=1 implies POSIX.1 but we need at least 500 (SUSv2) for
+struct timeval. Fixes build on SunOS.
+
+--- meson.build.orig   2019-02-28 16:22:57.000000000 +0000
++++ meson.build
+@@ -8,7 +8,7 @@ project('gdk-pixbuf', 'c',
+         ],
+         meson_version: '>= 0.46.0')
+ 
+-add_project_arguments([ '-D_POSIX_C_SOURCE=200809L', '-D_DEFAULT_SOURCE', '-D_XOPEN_SOURCE' ], language: 'c')
++add_project_arguments([ '-D_POSIX_C_SOURCE=200809L', '-D_DEFAULT_SOURCE', '-D_XOPEN_SOURCE=500' ], language: 'c')
+ 
+ cc = meson.get_compiler('c')
+ host_system = host_machine.system()



Home | Main Index | Thread Index | Old Index