]> git.pld-linux.org Git - packages/epiphany.git/commitdiff
- ugly hack to make epiphany compile against xulrunner/firefox2, browser
authorhawk <hawk@pld-linux.org>
Mon, 1 Jan 2007 19:28:18 +0000 (19:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  seems to work with this change

Changed files:
    epiphany-no_typeaheadfind_check.patch -> 1.1

epiphany-no_typeaheadfind_check.patch [new file with mode: 0644]

diff --git a/epiphany-no_typeaheadfind_check.patch b/epiphany-no_typeaheadfind_check.patch
new file mode 100644 (file)
index 0000000..713ffa3
--- /dev/null
@@ -0,0 +1,51 @@
+--- configure.ac.orig  2006-12-29 22:39:59.000000000 +0100
++++ configure.ac       2006-12-30 23:19:57.000000000 +0100
+@@ -264,48 +264,6 @@
+ AC_MSG_RESULT([$have_psm])
+-# This is only present on toolkit
+-
+-if test "$gecko_cv_gecko_flavour" = "toolkit"; then
+-
+-AC_DEFINE([HAVE_TYPEAHEADFIND],[1],[Define if we have tookit's typeaheadfind])
+-
+-# Make sure we DON'T have the typeaheadfind extension
+-
+-AC_MSG_CHECKING([whether typeaheadfind is broken])
+-
+-GECKO_RUN_IFELSE([],
+-[GECKO_XPCOM_PROGRAM(
+-[[#include <nsIComponentRegistrar.h>]],
+-[[
+-status = 99;
+-nsCOMPtr<nsIComponentRegistrar> registrar;
+-rv = NS_GetComponentRegistrar (getter_AddRefs (registrar));
+-if (NS_FAILED (rv)) break;
+-
+-status = 98;
+-nsCID *classID = nsnull;
+-rv = registrar->ContractIDToCID ("@mozilla.org/typeaheadfind;1", &classID);
+-if (NS_FAILED (rv) || !classID) break;
+-
+-nsCID badClassID = { 0x46590685, 0xbc00, 0x4aac,
+-                   { 0xab, 0xed, 0x2c, 0x10, 0xa5, 0xb9, 0x45, 0xa4 } };
+-
+-status = classID->Equals (badClassID) ? 97 : EXIT_SUCCESS;
+-]]
+-)],
+-[have_broken_typeaheadfind=no],
+-[have_broken_typeaheadfind=yes],
+-[have_broken_typeaheadfind=maybe])
+-
+-AC_MSG_RESULT([$have_broken_typeaheadfind])
+-
+-if test "$have_broken_typeaheadfind" = "yes"; then
+-      AC_MSG_ERROR([You must not compile $gecko_cv_gecko with the "typeaheadfind" extension enabled!])
+-fi
+-
+-fi # gecko_cv_gecko_flavour = toolkit
+-
+ # Make sure we don't accidentally build without PSM support
+ AC_MSG_CHECKING([whether to include PSM support])
This page took 0.038016 seconds and 4 git commands to generate.