diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2009-03-20 13:33:39 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2009-03-20 13:33:39 +0000 |
commit | 6ed18c5fdedad95dfa39c12f65a635d3e3b28500 (patch) | |
tree | 2f07ae5fe28e2b942b12c57fb3d3533ab276d977 /multimedia/gxine | |
parent | 4101083c2f590dd8ab894e32b1d166d70e0397b6 (diff) | |
download | ports-6ed18c5fdedad95dfa39c12f65a635d3e3b28500.tar.gz ports-6ed18c5fdedad95dfa39c12f65a635d3e3b28500.zip |
Notes
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> |