mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
UNBREAK: Fix build on 4.x
PR: ports/100768 Submitted by: Sven Berkvens-Matthijsse <sven at ilse.net> Approved by: Alexander Botero-Lowry <alex at foxybanana.com> (maintainer)
This commit is contained in:
parent
05e9d24c70
commit
22b5a587fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168655
@ -25,10 +25,6 @@ INSTALLS_SHLIB= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Does not build on FreeBSD < 5.x
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
@${REINPLACE_CMD} -e "s|pcdir =.*|pcdir = ${PREFIX}/libdata/pkgconfig|g" \
|
||||
${WRKSRC}/Makefile
|
||||
|
11
audio/libofa/files/patch-examples_examples.cpp
Normal file
11
audio/libofa/files/patch-examples_examples.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- examples/example.cpp.orig Mon Jul 24 11:09:39 2006
|
||||
+++ examples/example.cpp Mon Jul 24 11:09:50 2006
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
-------------------------------------------------------------------*/
|
||||
|
||||
+#include <stdio.h>
|
||||
+
|
||||
#include "protocol.h"
|
||||
|
||||
AudioData* loadWaveFile(char *file);
|
11
audio/libofa/files/patch-examples_uselame.cpp
Normal file
11
audio/libofa/files/patch-examples_uselame.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- examples/uselame.cpp.orig Mon Jul 24 11:11:58 2006
|
||||
+++ examples/uselame.cpp Mon Jul 24 11:12:09 2006
|
||||
@@ -13,6 +13,8 @@
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
AudioData *loadWaveFile(char *file);
|
||||
|
||||
// loadDataUsingLAME
|
10
audio/libofa/files/patch-examples_wavefile.cpp
Normal file
10
audio/libofa/files/patch-examples_wavefile.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- examples/wavefile.cpp.orig Mon Jul 24 11:13:26 2006
|
||||
+++ examples/wavefile.cpp Mon Jul 24 11:13:05 2006
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "io.h"
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
static bool readBytes(int fd, unsigned char *buf, int size) {
|
||||
int ct = 0;
|
Loading…
Reference in New Issue
Block a user