pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/gnome-utils gnome-utils: Set _XOPEN_SOURCE correc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4dd15cc7d4d6
branches:  trunk
changeset: 375235:4dd15cc7d4d6
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Feb 06 10:39:46 2018 +0000

description:
gnome-utils: Set _XOPEN_SOURCE correctly.

diffstat:

 misc/gnome-utils/distinfo                              |   3 +-
 misc/gnome-utils/patches/patch-logview_logview-utils.c |  23 ++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r aa67f9ec1cca -r 4dd15cc7d4d6 misc/gnome-utils/distinfo
--- a/misc/gnome-utils/distinfo Tue Feb 06 10:14:29 2018 +0000
+++ b/misc/gnome-utils/distinfo Tue Feb 06 10:39:46 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2017/07/14 12:57:23 joerg Exp $
+$NetBSD: distinfo,v 1.24 2018/02/06 10:39:46 jperkin Exp $
 
 SHA1 (gnome-utils-2.32.0.tar.bz2) = 68ef7e12280969bde9bee4bbd566ad4ab0572e77
 RMD160 (gnome-utils-2.32.0.tar.bz2) = c25667eec2ba4fd0d704c10a92e2e6b071eb1bfc
@@ -9,3 +9,4 @@
 SHA1 (patch-ad) = 2e6b9e7f638dc758b948f5782300a16b95e67d0b
 SHA1 (patch-ae) = ab44b488da57de56752253f67414f44cc3075957
 SHA1 (patch-gnome-dictionary_libgdict_gdict-client-context.h) = 82a5c5e1a4da87b31035d59588972e61412fef59
+SHA1 (patch-logview_logview-utils.c) = f5be5c8db4d3a117012c2253ecdf286452901290
diff -r aa67f9ec1cca -r 4dd15cc7d4d6 misc/gnome-utils/patches/patch-logview_logview-utils.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gnome-utils/patches/patch-logview_logview-utils.c    Tue Feb 06 10:39:46 2018 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-logview_logview-utils.c,v 1.1 2018/02/06 10:39:46 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly.
+
+--- logview/logview-utils.c.orig       2009-09-21 15:54:41.000000000 +0000
++++ logview/logview-utils.c
+@@ -19,7 +19,9 @@
+  * Foundation, Inc., 551 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
+  */
+ 
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE
++#endif
+ #include <time.h>
+ #include <string.h>
+ #include <stdlib.h>
+@@ -274,4 +276,4 @@ log_read_dates (const char **buffer_line
+   days = g_slist_sort (days, days_compare);
+ 
+   return days;
+-}
+\ No newline at end of file
++}



Home | Main Index | Thread Index | Old Index