diff options
author | Tim Williams <tmw@autotrain.org> | 2011-10-14 13:51:18 +0100 |
---|---|---|
committer | Tim Williams <tmw@autotrain.org> | 2011-10-14 13:51:18 +0100 |
commit | ec2515f058c60d2478a549f58376db628ba556b9 (patch) | |
tree | aefbde1b807005611b397e01ebc5782c7d27ff91 /mandriva/2010.2/dependencies/arts/arts-1.5.3-resmgr.patch | |
parent | bba295da1161579c6fe734680c827e50a3585131 (diff) | |
download | tde-packaging-ec2515f058c60d2478a549f58376db628ba556b9.tar.gz tde-packaging-ec2515f058c60d2478a549f58376db628ba556b9.zip |
Initial commit of the Mandriva patches and spec files.
This includes the main dependencies and core packages, but very little else.
Diffstat (limited to 'mandriva/2010.2/dependencies/arts/arts-1.5.3-resmgr.patch')
-rw-r--r-- | mandriva/2010.2/dependencies/arts/arts-1.5.3-resmgr.patch | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/mandriva/2010.2/dependencies/arts/arts-1.5.3-resmgr.patch b/mandriva/2010.2/dependencies/arts/arts-1.5.3-resmgr.patch new file mode 100644 index 000000000..2adce7f91 --- /dev/null +++ b/mandriva/2010.2/dependencies/arts/arts-1.5.3-resmgr.patch @@ -0,0 +1,70 @@ +? flow/audioiooss.cc,v +? flow/audioioossthreaded.cc,v +Index: flow/Makefile.am +=================================================================== +RCS file: /home/kde/arts/flow/Makefile.am,v +retrieving revision 1.79 +diff -u -3 -p -r1.79 Makefile.am +--- flow/Makefile.am 18 Nov 2004 20:19:59 -0000 1.79 ++++ flow/Makefile.am 25 Feb 2005 13:58:07 -0000 +@@ -9,7 +9,7 @@ lib_LTLIBRARIES = libartsflow_idl.la lib + + libartsflow_idl_la_SOURCES = artsflow.cc + libartsflow_idl_la_LDFLAGS = -no-undefined -version-info 1:0 $(all_libraries) +-libartsflow_idl_la_LIBADD = $(top_builddir)/mcop/libmcop.la $(LIBPOSIX4) ++libartsflow_idl_la_LIBADD = $(top_builddir)/mcop/libmcop.la $(LIBPOSIX4) -lresmgr + + libartsflow_la_LIBADD = $(top_builddir)/mcop/libmcop.la libartsflow_idl.la $(top_builddir)/flow/gslpp/libgslpp.la $(LIBAUDIOFILE) $(LIBASOUND) $(LIBAUDIOIO) $(LIBOSSAUDIO) $(LIBAUDIONAS) $(LIBCSL) $(SGILIBAUDIO) $(LIBESD) $(LIBMAS) $(JACK_LIBADD) -lm \ + $(top_builddir)/flow/gsl/libgsl.la +Index: flow/audioiooss.cc +=================================================================== +RCS file: /home/kde/arts/flow/audioiooss.cc,v +retrieving revision 1.17 +diff -u -3 -p -r1.17 audioiooss.cc +--- flow/audioiooss.cc 20 Nov 2004 04:55:21 -0000 1.17 ++++ flow/audioiooss.cc 25 Feb 2005 13:58:07 -0000 +@@ -49,6 +49,7 @@ + #include <assert.h> + #include <errno.h> + #include <fcntl.h> ++#include <resmgr.h> + #include <stdio.h> + #include <stdlib.h> + #include <unistd.h> +@@ -157,7 +158,9 @@ bool AudioIOOSS::open() + return false; + } + +- audio_fd = ::open(_deviceName.c_str(), mode, 0); ++ audio_fd = ::rsm_open_device(_deviceName.c_str(), mode); ++ if(audio_fd == -1) ++ audio_fd = ::open(_deviceName.c_str(), mode, 0); + + if(audio_fd == -1) + { +Index: flow/audioioossthreaded.cc +=================================================================== +RCS file: /home/kde/arts/flow/audioioossthreaded.cc,v +retrieving revision 1.6 +diff -u -3 -p -r1.6 audioioossthreaded.cc +--- flow/audioioossthreaded.cc 20 Jan 2005 12:34:01 -0000 1.6 ++++ flow/audioioossthreaded.cc 25 Feb 2005 13:58:07 -0000 +@@ -50,6 +50,7 @@ + #include <assert.h> + #include <errno.h> + #include <fcntl.h> ++#include <resmgr.h> + #include <stdio.h> + #include <stdlib.h> + #include <unistd.h> +@@ -202,7 +203,9 @@ bool AudioIOOSSThreaded::open() + return false; + } + +- audio_fd = ::open(_deviceName.c_str(), mode, 0); ++ audio_fd = ::rsm_open_device(_deviceName.c_str(), mode); ++ if(audio_fd == -1) ++ audio_fd = ::open(_deviceName.c_str(), mode, 0); + + if(audio_fd == -1) + { |