diff options
author | jmmv <jmmv@pkgsrc.org> | 2005-12-28 15:40:26 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2005-12-28 15:40:26 +0000 |
commit | a1e47586363345441b133e30bf918545b6f1d136 (patch) | |
tree | f2ff20e2a95c4b9e0e0d3438dc8ae264456f2319 | |
parent | 8049758b070efb3e32428b5321c0bc3dfb66b338 (diff) | |
download | pkgsrc-a1e47586363345441b133e30bf918545b6f1d136.tar.gz |
Fix the build under NetBSD 3.0 and unbreak this package.
The code explicitly defines _XOPEN_SOURCE (to an empty value), which breaks
sys/select.h; change it to also define _XOPEN_SOURCE_EXTENDED as suggested
by kleink@.
-rw-r--r-- | www/drivel/Makefile | 5 | ||||
-rw-r--r-- | www/drivel/distinfo | 3 | ||||
-rw-r--r-- | www/drivel/patches/patch-ab | 12 |
3 files changed, 15 insertions, 5 deletions
diff --git a/www/drivel/Makefile b/www/drivel/Makefile index 155794ddef2..ec19f5802b0 100644 --- a/www/drivel/Makefile +++ b/www/drivel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2005/12/26 23:39:34 schmonz Exp $ +# $NetBSD: Makefile,v 1.21 2005/12/28 15:40:26 jmmv Exp $ # DISTNAME= drivel-2.0.2 @@ -10,9 +10,6 @@ MAINTAINER= jmmv@NetBSD.org HOMEPAGE= http://www.dropline.net/drivel/ COMMENT= LiveJournal client for the GNOME Desktop -PKG_FAIL_REASON+= "Broken on NetBSD/i386 3.0 in pkgsrc-2005Q4" -PKG_FAIL_REASON+= "Will be removed in pkgsrc-2006Q1 unless fixed" - GNU_CONFIGURE= YES USE_DIRS+= gnome2-1.5 USE_TOOLS+= gmake pkg-config diff --git a/www/drivel/distinfo b/www/drivel/distinfo index 8bede339cfc..51f95be2fe0 100644 --- a/www/drivel/distinfo +++ b/www/drivel/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.13 2005/08/23 10:02:12 jmmv Exp $ +$NetBSD: distinfo,v 1.14 2005/12/28 15:40:26 jmmv Exp $ SHA1 (drivel-2.0.2.tar.bz2) = 34a0585c95b37e0b1f0ffcc96ae028a9f0108ebb RMD160 (drivel-2.0.2.tar.bz2) = dfcd230d2d28984ef297305a988d2887d4c29dd0 Size (drivel-2.0.2.tar.bz2) = 684729 bytes SHA1 (patch-aa) = 7b52acd05ecfc12d1c376f766b070af2a9939a37 +SHA1 (patch-ab) = dbc09dc3b8038570109547bad66b731761da289e diff --git a/www/drivel/patches/patch-ab b/www/drivel/patches/patch-ab new file mode 100644 index 00000000000..89e92753e20 --- /dev/null +++ b/www/drivel/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.3 2005/12/28 15:40:26 jmmv Exp $ + +--- src/drivel.h.orig 2005-05-30 05:25:35.000000000 +0200 ++++ src/drivel.h +@@ -27,6 +27,7 @@ + #include "utils.h" + + #define _XOPEN_SOURCE /* glibc2 needs this */ ++#define _XOPEN_SOURCE_EXTENDED /* to make the above one work under NetBSD */ + #include <time.h> + #include <gtk/gtk.h> + #include <libgnomevfs/gnome-vfs.h> |