pkgsrc/www/drivel/patches/patch-ab
jmmv a1e4758636 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@.
2005-12-28 15:40:26 +00:00

12 lines
373 B
Text

$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>