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@.
This commit is contained in:
parent
8049758b07
commit
a1e4758636
3 changed files with 15 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
12
www/drivel/patches/patch-ab
Normal file
12
www/drivel/patches/patch-ab
Normal file
|
@ -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>
|
Loading…
Reference in a new issue