aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-03-09 03:20:44 +0800
committered <ed@FreeBSD.org>2010-03-09 03:20:44 +0800
commit00c818c1ec49e70c08b2f454d36d48d21f6a907d (patch)
tree0cd1efe32a19577a729eae8c636b1e61bac6a5b4 /audio
parent861b370243078b1afc1d9d5e272fd20fd358ca15 (diff)
downloadfreebsd-ports-gnome-00c818c1ec49e70c08b2f454d36d48d21f6a907d.tar.gz
freebsd-ports-gnome-00c818c1ec49e70c08b2f454d36d48d21f6a907d.tar.zst
freebsd-ports-gnome-00c818c1ec49e70c08b2f454d36d48d21f6a907d.zip
Don't depend on libcompat.
Use gettimeofday() instead of ftime(). Approved by: erwin (implicit) ----------------------------------------------------------------------
Diffstat (limited to 'audio')
-rw-r--r--audio/speak_freely/files/patch-aa2
-rw-r--r--audio/speak_freely/files/patch-speakfree.h13
2 files changed, 14 insertions, 1 deletions
diff --git a/audio/speak_freely/files/patch-aa b/audio/speak_freely/files/patch-aa
index 679a2c41f257..f328cf09d01c 100644
--- a/audio/speak_freely/files/patch-aa
+++ b/audio/speak_freely/files/patch-aa
@@ -34,7 +34,7 @@
-#CCFLAGS = -DM_LITTLE_ENDIAN
-#LFLAGS = -lcurses -ltermcap -lcompat -lm
+CCFLAGS = -DM_LITTLE_ENDIAN -DAUDIO_BLOCKING -DNEEDED_LINEAR -DLINUX_DSP_SMALL_BUFFER
-+LFLAGS = -lcurses -ltermcap -lcompat -lm
++LFLAGS = -lcurses -ltermcap -lm
# Hewlett-Packard
# (courtesy of Marc Kilian)
diff --git a/audio/speak_freely/files/patch-speakfree.h b/audio/speak_freely/files/patch-speakfree.h
new file mode 100644
index 000000000000..8642a62620fa
--- /dev/null
+++ b/audio/speak_freely/files/patch-speakfree.h
@@ -0,0 +1,13 @@
+--- speakfree.h
++++ speakfree.h
+@@ -13,10 +13,6 @@
+ #define BSD_like
+ #endif
+
+-#ifdef __FreeBSD__
+-#define BSD_like
+-#endif
+-
+ #ifdef sgi
+ #define _BSD_SIGNALS
+ #endif