ec4b96
diff -up ./esc/coreconf/Linux3.1.mk.fix12 ./esc/coreconf/Linux3.1.mk
ec4b96
--- ./esc/coreconf/Linux3.1.mk.fix12	2011-11-28 13:55:27.623816205 -0800
ec4b96
+++ ./esc/coreconf/Linux3.1.mk	2011-11-28 13:56:11.119536737 -0800
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.1 (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.fix12 ./esc/src/app/xpcom/rhCoolKey.cpp
ec4b96
--- ./esc/src/app/xpcom/rhCoolKey.cpp.fix12	2011-11-28 19:29:53.894102752 -0800
ec4b96
+++ ./esc/src/app/xpcom/rhCoolKey.cpp	2011-11-28 19:30:46.003028405 -0800
ec4b96
@@ -41,7 +41,6 @@
ec4b96
 #include "prlink.h"
ec4b96
 #include "prthread.h"
ec4b96
 #include "nscore.h"
ec4b96
-#include "nsCopySupport.h"
ec4b96
 #include <vector>
ec4b96
 #include <string>
ec4b96
 #include <time.h>