diff options
author | mbr <mbr@FreeBSD.org> | 2002-07-22 06:59:15 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-07-22 06:59:15 +0800 |
commit | 1b55ff63d118e3b3bc0c543c2fd090bf0f749ea0 (patch) | |
tree | 7e9222e0a4390f65cab2784b86ec416ba227fed2 /editors/openoffice.org-1.1 | |
parent | 445c73e2ddd5d174263a0de28b9e567378fbfc61 (diff) | |
download | freebsd-ports-gnome-1b55ff63d118e3b3bc0c543c2fd090bf0f749ea0.tar.gz freebsd-ports-gnome-1b55ff63d118e3b3bc0c543c2fd090bf0f749ea0.tar.zst freebsd-ports-gnome-1b55ff63d118e3b3bc0c543c2fd090bf0f749ea0.zip |
Activate sound support.
Diffstat (limited to 'editors/openoffice.org-1.1')
3 files changed, 48 insertions, 0 deletions
diff --git a/editors/openoffice.org-1.1/files/patch-vcl+unx+source+app+osssound.cxx b/editors/openoffice.org-1.1/files/patch-vcl+unx+source+app+osssound.cxx new file mode 100644 index 000000000000..af681e020472 --- /dev/null +++ b/editors/openoffice.org-1.1/files/patch-vcl+unx+source+app+osssound.cxx @@ -0,0 +1,14 @@ +--- ../vcl/unx/source/app/osssound.cxx.orig Sun Jul 21 10:20:34 2002 ++++ ../vcl/unx/source/app/osssound.cxx Sun Jul 21 10:21:28 2002 +@@ -72,7 +72,11 @@ + #include <unistd.h> + #include <string.h> + #include <sys/ioctl.h> ++#ifdef LINUX + #include <linux/soundcard.h> ++#else ++#include <sys/soundcard.h> ++#endif + #include <errno.h> + + #ifdef _USE_NAMESPACE diff --git a/editors/openoffice.org-1.1/files/patch-vcl+unx+source+app+vsound.hxx b/editors/openoffice.org-1.1/files/patch-vcl+unx+source+app+vsound.hxx new file mode 100644 index 000000000000..028e7c9d64c1 --- /dev/null +++ b/editors/openoffice.org-1.1/files/patch-vcl+unx+source+app+vsound.hxx @@ -0,0 +1,20 @@ +--- ../vcl/unx/source/app/vsound.hxx.orig Sun Jul 21 00:10:24 2002 ++++ ../vcl/unx/source/app/vsound.hxx Sun Jul 21 00:10:27 2002 +@@ -61,7 +61,7 @@ + #ifndef _VCL_VSOUND_HXX + #define _VCL_VSOUND_HXX + +-#ifdef LINUX ++#if defined(LINUX) || defined(FREEBSD) + #define USE_OSS + #endif + +@@ -69,7 +69,7 @@ + #define USE_DEVAUDIO + #endif + +-#if defined LINUX || defined SOLARIS ++#if defined (LINUX) || defined(FREEBSD) || defined (SOLARIS) + #define USE_NAS + #endif + diff --git a/editors/openoffice.org-1.1/files/patch-vcl+util+makefile.mk b/editors/openoffice.org-1.1/files/patch-vcl+util+makefile.mk new file mode 100644 index 000000000000..1ea13157ce57 --- /dev/null +++ b/editors/openoffice.org-1.1/files/patch-vcl+util+makefile.mk @@ -0,0 +1,14 @@ +--- ../vcl/util/makefile.mk.orig Sun Jul 21 00:12:09 2002 ++++ ../vcl/util/makefile.mk Sun Jul 21 00:12:11 2002 +@@ -293,9 +293,9 @@ + .ENDIF # "$(OS)"=="MACOSX" + .ENDIF # "$(OS)"=="SOLARIS" + +-.IF "$(OS)"=="LINUX" || "$(OS)"=="SOLARIS" ++.IF "$(OS)"=="LINUX" || "$(OS)"=="SOLARIS" || "$(OS)"=="FREEBSD" + SHL1STDLIBS += -laudio +-.ENDIF # "$(OS)"=="LINUX" || "$(OS)"=="SOLARIS" ++.ENDIF # "$(OS)"=="LINUX" || "$(OS)"=="SOLARIS" || "$(OS)"=="FREEBSD" + + .ENDIF # "$(GUI)"=="UNX" + |