aboutsummaryrefslogtreecommitdiffstats
path: root/audio/pulseaudio
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2008-01-04 09:05:26 +0800
committermarcus <marcus@FreeBSD.org>2008-01-04 09:05:26 +0800
commitcacb5097be46a28cdccbd9a59770b25ffafca9f2 (patch)
treedfe78144bb4b826b5065ba6e5ad2476708e229d2 /audio/pulseaudio
parent75d532fbecfe767660c0d03456d27081ff4fef6f (diff)
downloadfreebsd-ports-gnome-cacb5097be46a28cdccbd9a59770b25ffafca9f2.tar.gz
freebsd-ports-gnome-cacb5097be46a28cdccbd9a59770b25ffafca9f2.tar.zst
freebsd-ports-gnome-cacb5097be46a28cdccbd9a59770b25ffafca9f2.zip
* Fix some potential 64-bit problems
* Fix a build problem on < 7.X Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net>
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r--audio/pulseaudio/Makefile1
-rw-r--r--audio/pulseaudio/files/patch-src_pulse_introspect.c11
-rw-r--r--audio/pulseaudio/files/patch-src_tests_rtpoll-test.c18
3 files changed, 30 insertions, 0 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index 25cc1ebaeae1..d2a26dc93793 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -8,6 +8,7 @@
PORTNAME= pulseaudio
PORTVERSION= 0.9.8
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/
diff --git a/audio/pulseaudio/files/patch-src_pulse_introspect.c b/audio/pulseaudio/files/patch-src_pulse_introspect.c
new file mode 100644
index 000000000000..6681f70caff3
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_pulse_introspect.c
@@ -0,0 +1,11 @@
+--- src/pulse/introspect.c.orig 2008-01-03 20:01:31.000000000 -0500
++++ src/pulse/introspect.c 2008-01-03 20:01:39.000000000 -0500
+@@ -26,6 +26,8 @@
+ #include <config.h>
+ #endif
+
++#include <string.h>
++
+ #include <pulse/context.h>
+
+ #include <pulsecore/gccmacro.h>
diff --git a/audio/pulseaudio/files/patch-src_tests_rtpoll-test.c b/audio/pulseaudio/files/patch-src_tests_rtpoll-test.c
new file mode 100644
index 000000000000..365ca8d2bec7
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_tests_rtpoll-test.c
@@ -0,0 +1,18 @@
+--- src/tests/rtpoll-test.c.orig 2008-01-03 20:03:03.000000000 -0500
++++ src/tests/rtpoll-test.c 2008-01-03 20:03:25.000000000 -0500
+@@ -45,6 +45,7 @@ static int worker(pa_rtpoll_item *w) {
+ }
+
+ int main(int argc, char *argv[]) {
++#ifdef SIGRTMIN
+ pa_rtpoll *p;
+ pa_rtpoll_item *i, *w;
+ struct pollfd *pollfd;
+@@ -86,6 +87,7 @@ int main(int argc, char *argv[]) {
+ pa_rtpoll_item_free(w);
+
+ pa_rtpoll_free(p);
++#endif
+
+ return 0;
+ }