summaryrefslogtreecommitdiffstats
path: root/opensuse/arts/avoid_la_files.diff
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2011-08-11 19:56:57 -0400
committerRobert Xu <robxu9@gmail.com>2011-08-11 19:56:57 -0400
commit6af7d95a6917dbdf9a9021664e8bb2c820dd992d (patch)
tree3e42f263c18a47ecf84b396d3b31fc6d69ff5d42 /opensuse/arts/avoid_la_files.diff
parent47a0aa4601c58418067dcfaea332e1d5911d3fe3 (diff)
downloadtde-packaging-6af7d95a6917dbdf9a9021664e8bb2c820dd992d.tar.gz
tde-packaging-6af7d95a6917dbdf9a9021664e8bb2c820dd992d.zip
* add arts
* starts packaging naming tde-* (eg. tde-kdelibs)
Diffstat (limited to 'opensuse/arts/avoid_la_files.diff')
-rw-r--r--opensuse/arts/avoid_la_files.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/opensuse/arts/avoid_la_files.diff b/opensuse/arts/avoid_la_files.diff
new file mode 100644
index 000000000..7c592d687
--- /dev/null
+++ b/opensuse/arts/avoid_la_files.diff
@@ -0,0 +1,26 @@
+--- artsc/Makefile.am
++++ artsc/Makefile.am
+@@ -1,4 +1,4 @@
+-AM_CFLAGS = -DARTSC_BACKEND='"$(libdir)/libartscbackend.la"'
++AM_CFLAGS = -DARTSC_BACKEND='"$(libdir)/libartscbackend.so"'
+ AM_CPPFLAGS = -DCOMPILING_ARTSC
+ lib_LTLIBRARIES = libartsc.la libartscbackend.la libartsdsp.la libartsdsp_st.la
+ FLOWLIBS = $(top_builddir)/flow/libartsflow.la
+--- mcop/extensionloader.cc
++++ mcop/extensionloader.cc
+@@ -56,7 +56,14 @@
+ /* this will catch all startup classes here */
+ StartupManager::setExtensionLoader(this);
+
+- lt_dlinit();
++ lt_dlinit();
++
++ string::size_type len = dlfilename.length();
++ if (len > 0 && dlfilename[len-1] == 'a' && dlfilename[len-2] == 'l') {
++ dlfilename[len-1] = 'o';
++ dlfilename[len-2] = 's';
++ }
++
+ handle = lt_dlopen(dlfilename.c_str());
+
+ StartupManager::setExtensionLoader(0);