diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-09-14 21:26:12 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-09-14 21:26:12 +0000 |
commit | 935c1d8aa842e5279c610bd9cf0c06dee2e68c72 (patch) | |
tree | 3d50dbc48199a0128d261a48997ebb46629deb8b /pkgs/applications/video/mythtv | |
parent | 2d9c5481cfbbebffa06fd69373afc20d29ca5f47 (diff) |
* Doh.
svn path=/nixpkgs/trunk/; revision=6523
Diffstat (limited to 'pkgs/applications/video/mythtv')
-rw-r--r-- | pkgs/applications/video/mythtv/purity.patch | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/pkgs/applications/video/mythtv/purity.patch b/pkgs/applications/video/mythtv/purity.patch new file mode 100644 index 000000000000..3636ccd570ec --- /dev/null +++ b/pkgs/applications/video/mythtv/purity.patch @@ -0,0 +1,75 @@ +diff -rc mythtv-0.20-orig/configure mythtv-0.20/configure +*** mythtv-0.20-orig/configure 2006-08-28 18:18:08.000000000 +0200 +--- mythtv-0.20/configure 2006-09-14 17:05:12.000000000 +0200 +*************** +*** 1225,1231 **** + + has_library() + { +! if test -f /etc/ld.so.conf ; then + LIBPATHS=`cat /etc/ld.so.conf | grep -v "#" | grep -v "include"` + else + LIBPATHS='' +--- 1225,1231 ---- + + has_library() + { +! if false ; then + LIBPATHS=`cat /etc/ld.so.conf | grep -v "#" | grep -v "include"` + else + LIBPATHS='' +*************** +*** 1235,1241 **** + LIBPATHS="$LIBPATHS `echo $DYLD_LIBRARY_PATH | sed s/':'/' '/g` " + + # recurse down just one level, should be enough in most cases +! if test -f /etc/ld.so.conf ; then + INCL=`cat /etc/ld.so.conf | grep -v "#" | grep "^include"` + SRCH=`echo "$INCL" | sed '{ s/^include \//\//; s/^include /\/etc\//}'` + for x in $SRCH ; do +--- 1235,1241 ---- + LIBPATHS="$LIBPATHS `echo $DYLD_LIBRARY_PATH | sed s/':'/' '/g` " + + # recurse down just one level, should be enough in most cases +! if false ; then + INCL=`cat /etc/ld.so.conf | grep -v "#" | grep "^include"` + SRCH=`echo "$INCL" | sed '{ s/^include \//\//; s/^include /\/etc\//}'` + for x in $SRCH ; do +*************** +*** 1244,1250 **** + done + fi + +! LIBPATHS="`echo $LIBPATHS /$libdir_name /usr/$libdir_name /usr/local/$libdir_name /usr/X11R6/$libdir_name | sed s/'\/ '/' '/g` " + + HAS_IT="no" + for LIBPATH in $LIBPATHS ; do +--- 1244,1250 ---- + done + fi + +! LIBPATHS="`echo $LIBPATHS | sed s/'\/ '/' '/g` " + + HAS_IT="no" + for LIBPATH in $LIBPATHS ; do +*************** +*** 1257,1265 **** + + has_header() + { +! HPATHS="/usr/local/include /usr/include /usr/include/g++-v3 /usr/X11R6/include" + INCL=`echo $DYLD_LIBRARY_PATH $LD_LIBRARY_PATH | sed s/':'/' '/g` +! HPATHS="$HPATHS `echo $INCL | sed s/$libdir_name/include/g` " + + HAS_IT="no" + for HPATH in $HPATHS ; do +--- 1257,1265 ---- + + has_header() + { +! HPATHS="" + INCL=`echo $DYLD_LIBRARY_PATH $LD_LIBRARY_PATH | sed s/':'/' '/g` +! HPATHS="$HPATHS `echo $INCL | sed "s/$libdir_name\($\|[\/ ]\)/include\1/g"` " + + HAS_IT="no" + for HPATH in $HPATHS ; do |