aboutsummaryrefslogtreecommitdiff
path: root/www/galeon2/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-01-21 16:52:10 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-01-21 16:52:10 +0000
commit531f45e21ee40fd49b3e126c8ffb223bdd3405b1 (patch)
tree345a94ee5a2bf0c3a1c9b6902811f98f3ba93707 /www/galeon2/files
parentee172af9f3d0f9221ec6e66ff8b39f1dbee912eb (diff)
downloadports-531f45e21ee40fd49b3e126c8ffb223bdd3405b1.tar.gz
ports-531f45e21ee40fd49b3e126c8ffb223bdd3405b1.zip
Notes
Diffstat (limited to 'www/galeon2/files')
-rw-r--r--www/galeon2/files/patch-MyportalProtocolHandler.cpp11
-rw-r--r--www/galeon2/files/patch-ab48
2 files changed, 48 insertions, 11 deletions
diff --git a/www/galeon2/files/patch-MyportalProtocolHandler.cpp b/www/galeon2/files/patch-MyportalProtocolHandler.cpp
deleted file mode 100644
index 6539b8f248a5..000000000000
--- a/www/galeon2/files/patch-MyportalProtocolHandler.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- mozilla/MyportalProtocolHandler.cpp.orig Thu Nov 7 01:40:46 2002
-+++ mozilla/MyportalProtocolHandler.cpp Thu Nov 7 01:40:55 2002
-@@ -26,7 +26,7 @@
-
- extern "C" {
- extern char *realpath (__const char *__restrict __name,
-- char *__restrict __resolved) __THROW;
-+ char *__restrict __resolved);
- };
-
- #include <stdlib.h>
diff --git a/www/galeon2/files/patch-ab b/www/galeon2/files/patch-ab
new file mode 100644
index 000000000000..7624969406ff
--- /dev/null
+++ b/www/galeon2/files/patch-ab
@@ -0,0 +1,48 @@
+--- src/galeon.in.orig Sat Dec 28 23:28:29 2002
++++ src/galeon.in Sat Dec 28 23:31:42 2002
+@@ -4,18 +4,14 @@
+
+ if test -n "$MOZILLA_FIVE_HOME"; then
+ MOZILLA_HOME=$MOZILLA_FIVE_HOME
+-elif [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
++elif [ -f @MOZILLA_HOME@/libgtkembedmoz.so ]; then
+ MOZILLA_HOME=@MOZILLA_HOME@
+-elif [ -f /usr/local/mozilla/chrome/comm.jar ]; then
+- MOZILLA_HOME=/usr/local/mozilla
+-elif [ -f /usr/lib/mozilla/chrome/comm.jar ]; then
+- MOZILLA_HOME=/usr/lib/mozilla
+-elif [ -f /opt/mozilla/chrome/comm.jar ]; then
+- MOZILLA_HOME=/opt/mozilla
+-elif [ -f /usr/lib/mozilla-0.9.7/chrome/comm.jar ]; then
+- MOZILLA_HOME=/usr/lib/mozilla-0.9.7/
+-elif [ -f /opt/gnome/lib/mozilla/chrome/comm.jar ]; then
+- MOZILLA_HOME=/opt/gnome/lib/mozilla/
++elif [ -f %%LOCALBASE%%/lib/%%MOZILLA%%/libgtkembedmoz.so ]; then
++ MOZILLA_HOME=%%LOCALBASE%%/lib/%%MOZILLA%%
++elif [ -f %%X11BASE%%/lib/%%MOZILLA%%/libgtkembedmoz.so ]; then
++ MOZILLA_HOME=%%X11BASE%%/lib/%%MOZILLA%%
++elif [ -f %%PREFIX%%/lib/%%MOZILLA%%/libgtkembedmoz.so ]; then
++ MOZILLA_HOME=%%PREFIX%%/lib/%%MOZILLA%%
+ else
+ echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
+ exit
+@@ -27,16 +23,12 @@
+ MOZILLA_FIVE_HOME=$MOZILLA_HOME
+ export MOZILLA_FIVE_HOME
+
+-# for some reason this lets Galeon start properly on Red Hat 7.1 systems
+-if [ -f /etc/redhat-release ]; then
+- if [ "`cat /etc/redhat-release`" = "Red Hat Linux release 7.1 (Seawolf)" ]; then
+- export LD_ASSUME_KERNEL=2.2.5
+- fi
+-fi
++MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins
++export MOZ_PLUGIN_PATH
+
+ if [ -f ./galeon-bin ]; then
+ exec ./galeon-bin "$@"
+ else
+-exec $dist_bin/galeon-bin "$@"
++exec %%PREFIX%%/bin/galeon-bin "$@"
+ fi
+