Blame SOURCES/esc-1.1.0-fix11.patch

ec4b96
diff -up ./esc/src/app/xpcom/Makefile.sdk.fix11 ./esc/src/app/xpcom/Makefile.sdk
ec4b96
--- ./esc/src/app/xpcom/Makefile.sdk.fix11	2011-09-16 11:28:43.413286053 -0700
ec4b96
+++ ./esc/src/app/xpcom/Makefile.sdk	2011-09-16 11:28:43.529286053 -0700
ec4b96
@@ -108,7 +108,7 @@ endif
ec4b96
 ifeq ($(OS_ARCH),Linux)
ec4b96
 CPPFLAGS += -fno-rtti \
ec4b96
                 -fno-exceptions \
ec4b96
-                -fshort-wchar -fPIC
ec4b96
+                -fshort-wchar -fPIC -std=gnu++0x
ec4b96
 GECKO_LD_LIBS=-L$(GECKO_SDK_PATH)/lib    $(GECKO_SDK_PATH)/lib/libxpcomglue.a -lnssutil3 -lnss3 -lcrmf -lssl3 -lsmime3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl
ec4b96
 endif
ec4b96
 
ec4b96
@@ -129,6 +129,10 @@ ifdef ESC_VERSION
ec4b96
 GECKO_DEFINES += -DESC_VERSION=$(ESC_VERSION)
ec4b96
 endif
ec4b96
 
ec4b96
+ifdef GECKO_BIN_PATH
ec4b96
+GECKO_DEFINES += -DGECKO_BIN_PATH=$(GECKO_BIN_PATH)
ec4b96
+endif
ec4b96
+
ec4b96
 NSS_INCLUDE =  /usr/include/nss3
ec4b96
 NSPR_INCLUDE =  /usr/include/nspr4
ec4b96
 
ec4b96
diff -up ./esc/src/app/xpcom/rhCoolKey.cpp.fix11 ./esc/src/app/xpcom/rhCoolKey.cpp
ec4b96
--- ./esc/src/app/xpcom/rhCoolKey.cpp.fix11	2011-09-16 11:28:43.510286053 -0700
ec4b96
+++ ./esc/src/app/xpcom/rhCoolKey.cpp	2011-09-16 11:28:43.530286053 -0700
ec4b96
@@ -538,7 +538,7 @@ PRBool rhCoolKey::InitInstance()
ec4b96
 
ec4b96
     char xpcom_path[4096];
ec4b96
     xpcom_path[0] = 0;
ec4b96
-
ec4b96
+/*
ec4b96
     static const GREVersionRange greVersion = 
ec4b96
     {
ec4b96
     "1.9", PR_TRUE,
ec4b96
@@ -550,6 +550,13 @@ PRBool rhCoolKey::InitInstance()
ec4b96
         return PR_FALSE;
ec4b96
     }
ec4b96
 
ec4b96
+*/
ec4b96
+
ec4b96
+    char *grePath = (char *) GETSTRING(GECKO_BIN_PATH);
ec4b96
+
ec4b96
+    
ec4b96
+    snprintf(xpcom_path,4096,grePath);
ec4b96
+
ec4b96
     char *lib_name =(char *) XPCOM_LIB_NAME ;
ec4b96
 
ec4b96
   
ec4b96
diff -up ./esc/src/app/xpcom/tray/Makefile.sdk.fix11 ./esc/src/app/xpcom/tray/Makefile.sdk
ec4b96
--- ./esc/src/app/xpcom/tray/Makefile.sdk.fix11	2011-09-16 11:31:59.645286087 -0700
ec4b96
+++ ./esc/src/app/xpcom/tray/Makefile.sdk	2011-09-16 11:32:10.859286088 -0700
ec4b96
@@ -23,7 +23,7 @@ include $(CORE_DEPTH)/coreconf/config.mk
ec4b96
 include $(CORE_DEPTH)/coreconf/rules.mk
ec4b96
 
ec4b96
 ifeq ($(OS_ARCH),Linux)
ec4b96
-CXXFLAGS        += $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS) $(NOTIFY_CXX_FLAGS) -fPIC
ec4b96
+CXXFLAGS        += $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS) $(NOTIFY_CXX_FLAGS) -fPIC -std=gnu++0x
ec4b96
 endif
ec4b96
 
ec4b96
 
ec4b96
diff -up ./esc/src/app/xul/esc/application.ini.fix11 ./esc/src/app/xul/esc/application.ini
ec4b96
--- ./esc/src/app/xul/esc/application.ini.fix11	2011-09-16 11:28:43.511286053 -0700
ec4b96
+++ ./esc/src/app/xul/esc/application.ini	2011-09-16 11:28:43.532286053 -0700
ec4b96
@@ -25,11 +25,11 @@ Vendor=RedHat
ec4b96
 Name=ESC
ec4b96
 ;
ec4b96
 ; This field specifies your application's version.  This field is optional.
ec4b96
-Version=1.1.0-15
ec4b96
+Version=1.1.0-16
ec4b96
 ;
ec4b96
 ; This field specifies your application's build ID (timestamp).  This field is
ec4b96
 ; required.
ec4b96
-BuildID=0000001015
ec4b96
+BuildID=0000001016
ec4b96
 ;
ec4b96
 ; This ID is just an example.  Every XUL app ought to have it's own unique ID.
ec4b96
 ; You can use the microsoft "guidgen" or "uuidgen" tools, or go on
ec4b96
@@ -41,12 +41,12 @@ ID={6380471b-1924-4b48-b652-49f42951af86
ec4b96
 ; This field is required.  It specifies the minimum Gecko version that this
ec4b96
 ; application requires.  Specifying 1.8 matches all releases with a version
ec4b96
 ; prefixed by 1.8 (e.g., 1.8a4, 1.8b, 1.8.2).
ec4b96
-MinVersion=1.99
ec4b96
+MinVersion=6.0.0
ec4b96
 ;
ec4b96
 ; This field is optional.  It specifies the maximum Gecko version that this
ec4b96
 ; application requires.  It should be specified if your application uses
ec4b96
 ; unfrozen interfaces.  Specifying 1.8 matches all releases with a version
ec4b96
 ; prefixed by 1.8 (e.g., 1.8a4, 1.8b, 1.8.2).
ec4b96
-MaxVersion=2.99
ec4b96
+MaxVersion=20.0.0
ec4b96
 
ec4b96
 [Shell]