diff options
author | makc <makc@FreeBSD.org> | 2009-03-20 21:33:39 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2009-03-20 21:33:39 +0800 |
commit | e7fe6db7a33ad1cf324062dacefe5e48d9678643 (patch) | |
tree | 3a1438a21804491879f0a7611d767ec1c11ab932 /multimedia/gxine | |
parent | 015f4aabc36de85065cf0b422aa65a23f728081a (diff) | |
download | freebsd-ports-gnome-e7fe6db7a33ad1cf324062dacefe5e48d9678643.tar.gz freebsd-ports-gnome-e7fe6db7a33ad1cf324062dacefe5e48d9678643.tar.zst freebsd-ports-gnome-e7fe6db7a33ad1cf324062dacefe5e48d9678643.zip |
Fix build on -CURRENT after getline() import
Diffstat (limited to 'multimedia/gxine')
-rw-r--r-- | multimedia/gxine/files/patch-src_console_output.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/gxine/files/patch-src_console_output.c b/multimedia/gxine/files/patch-src_console_output.c index 913bc0ca11df..3704eedddd7a 100644 --- a/multimedia/gxine/files/patch-src_console_output.c +++ b/multimedia/gxine/files/patch-src_console_output.c @@ -1,9 +1,13 @@ --- ./src/console_output.c.orig 2008-06-12 04:48:13.000000000 +0400 -+++ ./src/console_output.c 2008-06-15 18:04:23.000000000 +0400 -@@ -44,6 +44,153 @@ ++++ ./src/console_output.c 2009-03-20 16:18:03.000000000 +0300 +@@ -44,6 +44,159 @@ #else /* defines & functions for gxine */ ++#if defined(__FreeBSD__) ++#include <osreldate.h> ++#if __FreeBSD_version < 800067 ++ +/* from src/contrib/cvs/lib/getline.h */ +#if defined (__GNUC__) || (defined (__STDC__) && __STDC__) +#define __PROTO(args) args @@ -150,6 +154,8 @@ +} + +/* getline.c */ ++#endif /* __FreeBSD_version */ ++#endif /* defined(__FreeBSD__) */ + # include <pthread.h> # include <string.h> |