diff options
author | arved <arved@FreeBSD.org> | 2002-12-05 04:34:24 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2002-12-05 04:34:24 +0800 |
commit | f5e4a1f4dcc1842d70c652437fc28200451bed26 (patch) | |
tree | 3b1eb37aa9366f127809f99776ff6dc88ded0ca4 /audio | |
parent | 43d6216a0e84cf0ef575ae8701e16728ff5fe5be (diff) | |
download | freebsd-ports-graphics-f5e4a1f4dcc1842d70c652437fc28200451bed26.tar.gz freebsd-ports-graphics-f5e4a1f4dcc1842d70c652437fc28200451bed26.tar.zst freebsd-ports-graphics-f5e4a1f4dcc1842d70c652437fc28200451bed26.zip |
Unbreak on -CURRENT
Approved by: sobomax
Diffstat (limited to 'audio')
-rw-r--r-- | audio/glame/Makefile | 4 | ||||
-rw-r--r-- | audio/glame/files/patch-swapfile.c | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/audio/glame/Makefile b/audio/glame/Makefile index 21b52bba1bb..8684e41a1fb 100644 --- a/audio/glame/Makefile +++ b/audio/glame/Makefile @@ -26,10 +26,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ .include <bsd.port.pre.mk> -.if ${OSVERSION} > 500000 -BROKEN= "Does not compile" -.endif - post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure diff --git a/audio/glame/files/patch-swapfile.c b/audio/glame/files/patch-swapfile.c new file mode 100644 index 00000000000..97f682f4505 --- /dev/null +++ b/audio/glame/files/patch-swapfile.c @@ -0,0 +1,13 @@ +--- src/swapfile/swapfile_fs.c.orig Fri Dec 6 07:35:22 2002 ++++ src/swapfile/swapfile_fs.c Fri Dec 6 07:41:02 2002 +@@ -44,6 +44,10 @@ + #define DEBUG 1 + #endif + ++#if __FreeBSD__ >= 5 ++#define __BSD_VISIBLE 1 ++#endif ++ + #include <sys/stat.h> + #include <sys/types.h> + #include <pthread.h> |