summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-dotnet/jscall-sharp/files/geckos_configure_fix.patch')
-rw-r--r--dev-dotnet/jscall-sharp/files/geckos_configure_fix.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/dev-dotnet/jscall-sharp/files/geckos_configure_fix.patch b/dev-dotnet/jscall-sharp/files/geckos_configure_fix.patch
new file mode 100644
index 000000000000..5285fed5a21b
--- /dev/null
+++ b/dev-dotnet/jscall-sharp/files/geckos_configure_fix.patch
@@ -0,0 +1,57 @@
+--- configure.ac 2006-11-13 13:41:06.000000000 +0100
++++ configure.ac 2006-11-14 13:35:05.506333992 +0100
+@@ -14,7 +14,7 @@
+ GECKOSHARP_REQUIRED_VERSION=0.10
+
+ m4_define(gtk_required_version, 2.6.0)
+-m4_define(mozilla_required_version, 1.6)
++m4_define(seamonkey_required_version, 1.0)
+ m4_define(firefox_required_version, 1.0)
+ m4_define(xulrunner_required_version, 1.8)
+ ### Check for pkg-config
+@@ -75,9 +75,9 @@
+
+ if test $mozpackage = any ; then
+ AC_MSG_CHECKING(for Gecko development files)
+- if $PKG_CONFIG --exists mozilla-gtkmozembed; then
+- AC_MSG_RESULT([Mozilla detected])
+- mozpackage=mozilla
++ if $PKG_CONFIG --exists seamonkey-gtkmozembed; then
++ AC_MSG_RESULT([Seamonkey detected])
++ mozpackage=seamonkey
+ else
+ if $PKG_CONFIG --exists firefox-gtkmozembed; then
+ AC_MSG_RESULT([Firefox detected])
+@@ -87,15 +87,15 @@
+ AC_MSG_RESULT([XulRunner detected])
+ mozpackage=xulrunner
+ else
+- AC_MSG_ERROR([Neither Firefox nor Mozilla development packages were detected])
++ AC_MSG_ERROR([Neither Firefox nor Seamonkey development packages were detected])
+ fi
+ fi
+ fi
+ fi
+
+ case $mozpackage in
+- firefox) mozpackage_required_version=firefox_required_version ;;
+- mozilla) mozpackage_required_version=mozilla_required_version ;;
++ firefox) mozpackage_required_version=firefox_required_version ;;
++ seamonkey) mozpackage_required_version=seamonkey_required_version ;;
+ xulrunner) mozpackage_required_version=xulrunner_required_version ;;
+ *) AC_MSG_ERROR([--with-gtkmozembed argument must be either 'mozilla' or 'firefox'])
+ esac
+@@ -104,9 +104,11 @@
+ AC_SUBST(MOZILLA_HOME)
+
+ PKG_CHECK_MODULES(JSGLUEDEPS, [$mozpackage-gtkmozembed >= $mozpackage_required_version,
+- $mozpackage-xpcom >= $mozpackage_required_version
+- gtk+-2.0 >= gtk_required_version])
++ $mozpackage-xpcom >= $mozpackage_required_version,
++ gtk+-2.0 >= gtk_required_version])
+
++JSGLUEDEPS_CFLAGS+=" -I${MOZILLA_HOME}/include/dom -I${MOZILLA_HOME}/include/webbrwsr"
++AC_SUBST(JSGLUEDEPS_CFLAGS)
+ AC_OUTPUT([
+ Makefile
+ jscall-sharp.pc