ec4b96
diff -up ./esc/coreconf/Linux3.9.mk.fix17 ./esc/coreconf/Linux3.9.mk
ec4b96
--- ./esc/coreconf/Linux3.9.mk.fix17	2013-06-17 18:52:29.341000000 -0400
ec4b96
+++ ./esc/coreconf/Linux3.9.mk	2013-06-17 18:52:48.988000000 -0400
ec4b96
@@ -0,0 +1,35 @@
ec4b96
+# BEGIN COPYRIGHT BLOCK
ec4b96
+# This Program is free software; you can redistribute it and/or modify it under
ec4b96
+# the terms of the GNU General Public License as published by the Free Software
ec4b96
+# Foundation; version 2 of the License.
ec4b96
+#
ec4b96
+# This Program is distributed in the hope that it will be useful, but WITHOUT
ec4b96
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
ec4b96
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
ec4b96
+#
ec4b96
+# You should have received a copy of the GNU General Public License along with
ec4b96
+# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
ec4b96
+# Place, Suite 330, Boston, MA 02111-1307 USA.
ec4b96
+#
ec4b96
+# Copyright (C) 2005 Red Hat, Inc.
ec4b96
+# All rights reserved.
ec4b96
+# END COPYRIGHT BLOCK
ec4b96
+
ec4b96
+#
ec4b96
+# Config stuff for Linux 3.9 (ELF)
ec4b96
+#
ec4b96
+
ec4b96
+include $(CORE_DEPTH)/coreconf/Linux.mk
ec4b96
+
ec4b96
+OS_REL_CFLAGS   += -DLINUX2_1
ec4b96
+MKSHLIB         = $(CC) -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
ec4b96
+ifdef BUILD_OPT
ec4b96
+            OPTIMIZER       = -O2
ec4b96
+endif
ec4b96
+
ec4b96
+ifdef MAPFILE
ec4b96
+	MKSHLIB += -Wl,--version-script,$(MAPFILE)
ec4b96
+endif
ec4b96
+PROCESS_MAP_FILE = grep -v ';-' $(LIBRARY_NAME).def | \
ec4b96
+        sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
ec4b96
+
ec4b96
diff -up ./esc/src/app/xpcom/rhCoolKey.cpp.fix17 ./esc/src/app/xpcom/rhCoolKey.cpp
ec4b96
--- ./esc/src/app/xpcom/rhCoolKey.cpp.fix17	2013-06-17 18:48:27.263000000 -0400
ec4b96
+++ ./esc/src/app/xpcom/rhCoolKey.cpp	2013-06-17 18:48:27.328000000 -0400
ec4b96
@@ -1383,7 +1383,7 @@ NS_IMETHODIMP rhCoolKey::GetCoolKeyGetAp
ec4b96
 
ec4b96
     *_retval = ver;
ec4b96
 
ec4b96
-    return S_OK;
ec4b96
+    return NS_OK;
ec4b96
 }
ec4b96
 
ec4b96
 /* boolean rhCoolKeyIsEnrolled (in unsigned long aKeyType, in string aKeyID); */
ec4b96
diff -up ./esc/src/app/xpcom/tray/rhLinuxTray.cpp.fix17 ./esc/src/app/xpcom/tray/rhLinuxTray.cpp
ec4b96
--- ./esc/src/app/xpcom/tray/rhLinuxTray.cpp.fix17	2013-06-17 18:48:27.267000000 -0400
ec4b96
+++ ./esc/src/app/xpcom/tray/rhLinuxTray.cpp	2013-06-17 18:48:27.329000000 -0400
ec4b96
@@ -152,7 +152,10 @@ NS_IMETHODIMP rhTray::Unsetwindnotifycal
ec4b96
 NS_IMETHODIMP rhTray::Add(nsIBaseWindow *aWindow)
ec4b96
 {
ec4b96
     char tBuff[56];
ec4b96
-    NS_ENSURE_ARG(aWindow);
ec4b96
+   
ec4b96
+    if ( aWindow == NULL) {
ec4b96
+       return NS_ERROR_FAILURE;
ec4b96
+    }
ec4b96
 
ec4b96
     PR_LOG( trayLog, PR_LOG_DEBUG, ("%s rhTray::Add %p \n",GetTStamp(tBuff,56),aWindow));
ec4b96
     HRESULT res = Initialize();
ec4b96
@@ -509,7 +512,7 @@ HRESULT rhTray::AddListener(nsIBaseWindo
ec4b96
     nsresult rv;
ec4b96
 
ec4b96
     PR_LOG( trayLog, PR_LOG_DEBUG, ("%s rhTray::AddListener %p \n",GetTStamp(tBuff,56),aWindow));
ec4b96
-    NS_ENSURE_ARG(aWindow);
ec4b96
+    //NS_ENSURE_ARG(aWindow);
ec4b96
 
ec4b96
     nativeWindow aNativeWindow;
ec4b96
     rv = aWindow->GetParentNativeWindow( &aNativeWindow );
ec4b96
@@ -635,13 +638,13 @@ NS_IMETHODIMP rhTray::Setmenuitemtext(PR
ec4b96
     PR_LOG( trayLog, PR_LOG_DEBUG, ("%s rhTray::Setmenuitemtext:  index: %d text %s. \n",GetTStamp(tBuff,56),aIndex,aText));
ec4b96
 
ec4b96
     if(!aText)
ec4b96
-        return S_OK;
ec4b96
+        return NS_OK;
ec4b96
 
ec4b96
     if(!mIconMenu)
ec4b96
-        return S_OK;
ec4b96
+        return NS_OK;
ec4b96
 
ec4b96
     if(aIndex < 0 || aIndex > 10)
ec4b96
-        return S_OK; 
ec4b96
+        return NS_OK; 
ec4b96
 
ec4b96
     GList *iterate = NULL;
ec4b96
 
ec4b96
@@ -670,7 +673,7 @@ NS_IMETHODIMP rhTray::Setmenuitemtext(PR
ec4b96
         i++;
ec4b96
     }
ec4b96
 
ec4b96
-    return S_OK;
ec4b96
+    return NS_OK;
ec4b96
 }
ec4b96
 
ec4b96
 //rhTrayWindNotify methods
ec4b96
diff -up ./esc/src/app/xul/esc/application.ini.fix17 ./esc/src/app/xul/esc/application.ini
ec4b96
--- ./esc/src/app/xul/esc/application.ini.fix17	2013-06-17 18:48:27.243000000 -0400
ec4b96
+++ ./esc/src/app/xul/esc/application.ini	2013-06-17 18:48:27.330000000 -0400
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-16
ec4b96
+Version=1.1.0-19
ec4b96
 ;
ec4b96
 ; This field specifies your application's build ID (timestamp).  This field is
ec4b96
 ; required.
ec4b96
-BuildID=0000001017
ec4b96
+BuildID=0000001019
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
@@ -47,6 +47,6 @@ MinVersion=6.0.0
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=20.0.0
ec4b96
+MaxVersion=22.0.0
ec4b96
 
ec4b96
 [Shell]