]> git.pld-linux.org Git - packages/mythtv.git/commitdiff
- patch for locating plugins on lib64 platforms
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 5 Sep 2005 17:37:45 +0000 (17:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mythtv-lib64.patch -> 1.4

mythtv-lib64.patch

index 64d75d0f6ab39ea9358b9d0150962f0e350f85f3..9ffdb4c78fe25fc295f087e66bf7e67212126e12 100644 (file)
@@ -287,3 +287,38 @@ diff -ur mythtv-0.18.1/libs/libmythui/libmythui.pro mythtv-0.18.1.fixed/libs/lib
  
      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
This page took 0.065669 seconds and 4 git commands to generate.