diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-19 13:18:11 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-19 13:18:11 +0800 |
commit | 92cf218b8ab2bf5e4d03a4d5d9d6416db9febc08 (patch) | |
tree | 7f3ff2eef125b7c6e4064e7840f597d78d04d158 /net/liferea/files | |
parent | 53e115cdd281eb5d07e1b72242a6ba8de3849eda (diff) | |
download | marcuscom-ports-92cf218b8ab2bf5e4d03a4d5d9d6416db9febc08.tar marcuscom-ports-92cf218b8ab2bf5e4d03a4d5d9d6416db9febc08.tar.gz marcuscom-ports-92cf218b8ab2bf5e4d03a4d5d9d6416db9febc08.tar.bz2 marcuscom-ports-92cf218b8ab2bf5e4d03a4d5d9d6416db9febc08.tar.lz marcuscom-ports-92cf218b8ab2bf5e4d03a4d5d9d6416db9febc08.tar.xz marcuscom-ports-92cf218b8ab2bf5e4d03a4d5d9d6416db9febc08.tar.zst marcuscom-ports-92cf218b8ab2bf5e4d03a4d5d9d6416db9febc08.zip |
- Chase LOCALBASE move
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6657 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/liferea/files')
-rw-r--r-- | net/liferea/files/patch-5.X_build_fix | 10 | ||||
-rw-r--r-- | net/liferea/files/patch-dont_install_wrapper_script | 22 | ||||
-rw-r--r-- | net/liferea/files/patch-src-liferea.in | 37 |
3 files changed, 69 insertions, 0 deletions
diff --git a/net/liferea/files/patch-5.X_build_fix b/net/liferea/files/patch-5.X_build_fix new file mode 100644 index 000000000..a5c26d0ae --- /dev/null +++ b/net/liferea/files/patch-5.X_build_fix @@ -0,0 +1,10 @@ +--- src/net/zlib_interface.c.orig Tue Jan 24 22:28:04 2006 ++++ src/net/zlib_interface.c Sat May 20 22:46:03 2006 +@@ -29,6 +29,7 @@ + #include <stdio.h> + #include <zlib.h> + #include <string.h> ++#include <sys/types.h> + + int JG_ZLIB_DEBUG = 1; + diff --git a/net/liferea/files/patch-dont_install_wrapper_script b/net/liferea/files/patch-dont_install_wrapper_script new file mode 100644 index 000000000..d050e8eff --- /dev/null +++ b/net/liferea/files/patch-dont_install_wrapper_script @@ -0,0 +1,22 @@ +--- src/Makefile.in.orig Mon May 29 17:07:31 2006 ++++ src/Makefile.in Mon May 29 17:08:38 2006 +@@ -204,7 +204,7 @@ + + + bin_PROGRAMS = liferea-bin +-bin_SCRIPTS = liferea liferea-add-feed ++bin_SCRIPTS = liferea-add-feed + + liferea_bin_SOURCES = \ + atom10.c atom10.h \ +@@ -374,8 +374,8 @@ + || test -f $$p1 \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ +- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ +- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \ ++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/liferea"; \ ++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/liferea || exit 1; \ + else :; fi; \ + done + diff --git a/net/liferea/files/patch-src-liferea.in b/net/liferea/files/patch-src-liferea.in new file mode 100644 index 000000000..79bda00fe --- /dev/null +++ b/net/liferea/files/patch-src-liferea.in @@ -0,0 +1,37 @@ +--- src/liferea.in.orig Sun Mar 19 03:50:55 2006 ++++ src/liferea.in Tue Mar 21 09:56:50 2006 +@@ -22,15 +22,17 @@ + + look_for_mozilla() { + +- results=`ls -1d $1 2>/dev/null | sort -n` +- while [ -n "$results" ] +- do +- path=`echo "$results" | tail -n 1` +- results=`echo "$results" | grep -v $path` +- path=`dirname $path` # strip comm.jar +- path=`dirname $path` # strip chrome +- run_with_mozilla $path +- ++ for p in $1; do ++ results=`ls -1d $p 2>/dev/null | sort -n` ++ while [ -n "$results" ] ++ do ++ path=`echo "$results" | tail -n 1` ++ results=`echo "$results" | grep -v $path` ++ path=`dirname $path` # strip comm.jar ++ path=`dirname $path` # strip chrome ++ run_with_mozilla $path ++ ++ done + done + } + +@@ -39,6 +41,7 @@ + fi + + @MOZILLA_LIB_DIR_SEARCH@ ++look_for_mozilla "%FREEBSD_MOZILLA_HOME%/chrome/comm.jar" + look_for_mozilla "/usr/lib/mozilla*/chrome/comm.jar" + look_for_mozilla "/usr/lib64/mozilla*/chrome/comm.jar" + look_for_mozilla "/usr/local/mozilla*/chrome/comm.jar" |