SOURCES: mythtv-lib64.patch - patch for locating plugins on lib64 ...
glen
glen at pld-linux.org
Mon Sep 5 19:37:50 CEST 2005
Author: glen Date: Mon Sep 5 17:37:50 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- patch for locating plugins on lib64 platforms
---- Files affected:
SOURCES:
mythtv-lib64.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/mythtv-lib64.patch
diff -u SOURCES/mythtv-lib64.patch:1.3 SOURCES/mythtv-lib64.patch:1.4
--- SOURCES/mythtv-lib64.patch:1.3 Mon Sep 5 19:11:31 2005
+++ SOURCES/mythtv-lib64.patch Mon Sep 5 19:37:45 2005
@@ -287,3 +287,38 @@
HAS_IT="no"
for LIBPATH in $LIBPATHS ; do
+--- ./libs/libmyth/mythcontext.cpp~ 2005-04-11 21:59:29.000000000 +0300
++++ ./libs/libmyth/mythcontext.cpp 2005-09-05 20:20:24.000000000 +0300
+@@ -41,6 +41,10 @@
+ const QString kPluginLibSuffix = ".so";
+ #endif
+
++#ifndef LIBDIR
++#define LIBDIR "lib"
++#endif
++
+ MythContext *gContext = NULL;
+ QMutex MythContext::verbose_mutex(true);
+
+@@ -874,7 +878,7 @@
+
+ QString MythContext::GetLibraryDir(void)
+ {
+- return d->m_installprefix + "/lib/mythtv/";
++ return d->m_installprefix + "/" + LIBDIR "/mythtv/";
+ }
+
+ QString MythContext::GetThemesParentDir(void)
+--- ./configure~ 2005-09-05 20:25:05.000000000 +0300
++++ ./configure 2005-09-05 20:25:08.000000000 +0300
+@@ -2394,6 +2394,10 @@
+ echo "CONFIG_INCLUDEPATH=$CONFIG_INCLUDEPATH" >> config.mak
+ fi
+
++if test "$_lib" != ""; then
++ echo "#define LIBDIR \"$_lib\"" >> $TMPH
++fi
++
+ diff $TMPH config.h >/dev/null 2>&1
+ if test $? -ne 0 ; then
+ mv -f $TMPH config.h
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mythtv-lib64.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list