pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/drivel This pkg defines _XOPEN_SOURCE which makes ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a31df5bd34d
branches:  trunk
changeset: 496759:9a31df5bd34d
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Tue Jul 12 17:37:52 2005 +0000

description:
This pkg defines _XOPEN_SOURCE which makes types such as fd_set not being
defined on NetBSD 1.6.  Make this compile on NetBSD 1.x by adding
-D_XOPEN_SOURCE_EXTENDED to CFLAGS.

Fix one C99-ism.

diffstat:

 www/drivel/distinfo         |   3 ++-
 www/drivel/hacks.mk         |  11 +++++++++++
 www/drivel/patches/patch-aa |  13 +++++++++++++
 3 files changed, 26 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r 0bccbb5c2717 -r 9a31df5bd34d www/drivel/distinfo
--- a/www/drivel/distinfo       Tue Jul 12 16:57:36 2005 +0000
+++ b/www/drivel/distinfo       Tue Jul 12 17:37:52 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.11 2005/06/26 16:55:47 jmmv Exp $
+$NetBSD: distinfo,v 1.12 2005/07/12 17:37:52 kristerw Exp $
 
 SHA1 (drivel-2.0.1.tar.bz2) = f6287a184c75f003d5c0a4acd6a29e5e768bdf28
 RMD160 (drivel-2.0.1.tar.bz2) = 79823bbd99bdff5e2a8fff474861a8bffd800d33
 Size (drivel-2.0.1.tar.bz2) = 670919 bytes
+SHA1 (patch-aa) = 7b52acd05ecfc12d1c376f766b070af2a9939a37
diff -r 0bccbb5c2717 -r 9a31df5bd34d www/drivel/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drivel/hacks.mk       Tue Jul 12 17:37:52 2005 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: hacks.mk,v 1.1 2005/07/12 17:37:52 kristerw Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+# NetBSD 1.x does not define types such as fd_set when _XOPEN_SOURCE is
+# defined, unless _XOPEN_SOURCE_EXTENDED also is defined
+.if ${OPSYS} == "NetBSD"
+.if empty(OS_VERSION:N1.[56]*)
+CFLAGS+=        -D_XOPEN_SOURCE_EXTENDED
+.endif
+.endif
diff -r 0bccbb5c2717 -r 9a31df5bd34d www/drivel/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drivel/patches/patch-aa       Tue Jul 12 17:37:52 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.5 2005/07/12 17:37:52 kristerw Exp $
+
+--- src/journal.c.orig Mon Jul 11 18:56:40 2005
++++ src/journal.c      Mon Jul 11 18:56:55 2005
+@@ -242,7 +242,7 @@
+       GtkAction *action;
+       GtkActionGroup *action_group;
+       gint i, j;
+-      gchar *blogid, **ui_descriptions, *ui_description;;
++      gchar *blogid, **ui_descriptions, *ui_description;
+       GError *error;
+       static guint merge_id = 0;
+ 



Home | Main Index | Thread Index | Old Index