summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-09-20 02:24:29 +0000
committersteve <steve@FreeBSD.org>1999-09-20 02:24:29 +0000
commitda15a375776ddae6d4772e76c0f1a7ec6e21f145 (patch)
treec2ff2db28844a5b78c1c56255c2d89877555173e
parent806f4a6637fde7675d3d96f5de3a611a87827175 (diff)
downloadFreeBSD-ports-da15a375776ddae6d4772e76c0f1a7ec6e21f145.zip
FreeBSD-ports-da15a375776ddae6d4772e76c0f1a7ec6e21f145.tar.gz
Use SYSTEM_OSS on the Alpha too. Also include errno.h so this build on
FreeBSD/Alpha.
-rw-r--r--audio/rosegarden/files/patch-aa10
-rw-r--r--audio/rosegarden/files/patch-ak12
2 files changed, 18 insertions, 4 deletions
diff --git a/audio/rosegarden/files/patch-aa b/audio/rosegarden/files/patch-aa
index f86c648..f387e16 100644
--- a/audio/rosegarden/files/patch-aa
+++ b/audio/rosegarden/files/patch-aa
@@ -1,5 +1,5 @@
---- /tmp/rosegarden-2.1/configure.in Wed Oct 15 20:42:59 1997
-+++ ./configure.in Fri May 14 20:29:22 1999
+--- configure.in.orig Wed Oct 15 13:42:59 1997
++++ configure.in Sat Sep 18 16:15:13 1999
@@ -4,6 +4,14 @@
AC_CONFIG_HEADER(config.h)
@@ -38,12 +38,14 @@
if test -n "$TCL_MIDI_CHECK"
then
Petal=""
-@@ -153,8 +161,8 @@
+@@ -152,9 +160,9 @@
+
*freebsd*)
defines="-DNO_SYS_ERRLIST"
- AC_CHECK_HEADER(sys/soundcard.h, sound_system="-DSYSTEM_FREEBSD")
+- AC_CHECK_HEADER(sys/soundcard.h, sound_system="-DSYSTEM_FREEBSD")
- extra_libs="-lmalloc"
- # LDFLAGS="-L/usr/lib -L/usr/X11R6/lib"
++ AC_CHECK_HEADER(sys/soundcard.h, sound_system="-DSYSTEM_OSS")
+ # extra_libs="-lmalloc"
+ LDFLAGS="-L/usr/lib -L/usr/X11R6/lib"
diff --git a/audio/rosegarden/files/patch-ak b/audio/rosegarden/files/patch-ak
new file mode 100644
index 0000000..b77aa1e
--- /dev/null
+++ b/audio/rosegarden/files/patch-ak
@@ -0,0 +1,12 @@
+--- mapper/src/Mapper_OSS.c.orig Sat Sep 18 16:18:42 1999
++++ mapper/src/Mapper_OSS.c Sat Sep 18 16:19:17 1999
+@@ -13,6 +13,9 @@
+ #include <sys/stat.h>
+ #include <unistd.h>
+ #include <fcntl.h>
++#ifdef __FreeBSD__
++#include <errno.h>
++#endif
+
+ #include <MidiFile.h>
+ #include <MidiErrorHandler.h>
OpenPOWER on IntegriCloud