pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/gtk2



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue May 23 15:35:21 UTC 2017

Modified Files:
        pkgsrc/x11/gtk2: distinfo
Added Files:
        pkgsrc/x11/gtk2/patches: patch-gtk_gtksearchenginesimple.c

Log Message:
Don't define _XOPEN_SOURCE on SunOS when using >= C99.


To generate a diff of this commit:
cvs rdiff -u -r1.161 -r1.162 pkgsrc/x11/gtk2/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/x11/gtk2/patches/patch-gtk_gtksearchenginesimple.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/gtk2/distinfo
diff -u pkgsrc/x11/gtk2/distinfo:1.161 pkgsrc/x11/gtk2/distinfo:1.162
--- pkgsrc/x11/gtk2/distinfo:1.161      Tue Sep 13 13:45:52 2016
+++ pkgsrc/x11/gtk2/distinfo    Tue May 23 15:35:21 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.161 2016/09/13 13:45:52 prlw1 Exp $
+$NetBSD: distinfo,v 1.162 2017/05/23 15:35:21 jperkin Exp $
 
 SHA1 (gtk+-2.24.31.tar.xz) = c3d828135994a52cc9428a60175bd2b294656611
 RMD160 (gtk+-2.24.31.tar.xz) = 71feedd14b1a52eaa070a6cbf26d00e64d41de42
@@ -8,4 +8,5 @@ SHA1 (patch-ab) = 9c82cc60f3825d377a197c
 SHA1 (patch-af) = d59414e24a7da7f8694dbefbd2f0c2c2b60ec5ad
 SHA1 (patch-aj) = 9887573ac7ade9e8f8ee2ead68e279f67836a1a3
 SHA1 (patch-gdk_x11_gdkwindow-x11.c) = 08c05b31da38e16727a2941cdec4c855f2fc7d77
+SHA1 (patch-gtk_gtksearchenginesimple.c) = 3c44b84f2e0d3f7cdfb594bf56370f588d165b14
 SHA1 (patch-gtk_gtktooltips.c) = 593e43bb0aacc0b07c24959f2ac6d84dfd04a780

Added files:

Index: pkgsrc/x11/gtk2/patches/patch-gtk_gtksearchenginesimple.c
diff -u /dev/null pkgsrc/x11/gtk2/patches/patch-gtk_gtksearchenginesimple.c:1.1
--- /dev/null   Tue May 23 15:35:21 2017
+++ pkgsrc/x11/gtk2/patches/patch-gtk_gtksearchenginesimple.c   Tue May 23 15:35:21 2017
@@ -0,0 +1,16 @@
+$NetBSD: patch-gtk_gtksearchenginesimple.c,v 1.1 2017/05/23 15:35:21 jperkin Exp $
+
+Don't define _XOPEN_SOURCE on SunOS when using >= C99.
+
+--- gtk/gtksearchenginesimple.c.orig   2015-12-28 15:42:28.000000000 +0000
++++ gtk/gtksearchenginesimple.c
+@@ -27,7 +27,9 @@
+  * export ftw() and friends only if _XOPEN_SOURCE and _GNU_SOURCE
+  * are defined. see bug #444097.
+  */
++#if !defined(__sun) || __STDC_VERSION__ - 0 < 199901L
+ #define _XOPEN_SOURCE 500
++#endif
+ #define _GNU_SOURCE 
+ 
+ #ifdef HAVE_FTW_H



Home | Main Index | Thread Index | Old Index