From 1b55ff63d118e3b3bc0c543c2fd090bf0f749ea0 Mon Sep 17 00:00:00 2001 From: mbr Date: Sun, 21 Jul 2002 22:59:15 +0000 Subject: Activate sound support. --- .../files/patch-vcl+unx+source+app+osssound.cxx | 14 ++++++++++++++ .../files/patch-vcl+unx+source+app+vsound.hxx | 20 ++++++++++++++++++++ .../files/patch-vcl+util+makefile.mk | 14 ++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 editors/openoffice-1.1-devel/files/patch-vcl+unx+source+app+osssound.cxx create mode 100644 editors/openoffice-1.1-devel/files/patch-vcl+unx+source+app+vsound.hxx create mode 100644 editors/openoffice-1.1-devel/files/patch-vcl+util+makefile.mk (limited to 'editors/openoffice-1.1-devel') diff --git a/editors/openoffice-1.1-devel/files/patch-vcl+unx+source+app+osssound.cxx b/editors/openoffice-1.1-devel/files/patch-vcl+unx+source+app+osssound.cxx new file mode 100644 index 000000000000..af681e020472 --- /dev/null +++ b/editors/openoffice-1.1-devel/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 + #include + #include ++#ifdef LINUX + #include ++#else ++#include ++#endif + #include + + #ifdef _USE_NAMESPACE diff --git a/editors/openoffice-1.1-devel/files/patch-vcl+unx+source+app+vsound.hxx b/editors/openoffice-1.1-devel/files/patch-vcl+unx+source+app+vsound.hxx new file mode 100644 index 000000000000..028e7c9d64c1 --- /dev/null +++ b/editors/openoffice-1.1-devel/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-1.1-devel/files/patch-vcl+util+makefile.mk b/editors/openoffice-1.1-devel/files/patch-vcl+util+makefile.mk new file mode 100644 index 000000000000..1ea13157ce57 --- /dev/null +++ b/editors/openoffice-1.1-devel/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" + -- cgit