f35d1b
diff -up ./esc/coreconf/Linux3.1.mk.fix12 ./esc/coreconf/Linux3.1.mk
f35d1b
--- ./esc/coreconf/Linux3.1.mk.fix12	2011-11-28 13:55:27.623816205 -0800
f35d1b
+++ ./esc/coreconf/Linux3.1.mk	2011-11-28 13:56:11.119536737 -0800
f35d1b
@@ -0,0 +1,35 @@
f35d1b
+# BEGIN COPYRIGHT BLOCK
f35d1b
+# This Program is free software; you can redistribute it and/or modify it under
f35d1b
+# the terms of the GNU General Public License as published by the Free Software
f35d1b
+# Foundation; version 2 of the License.
f35d1b
+#
f35d1b
+# This Program is distributed in the hope that it will be useful, but WITHOUT
f35d1b
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
f35d1b
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
f35d1b
+#
f35d1b
+# You should have received a copy of the GNU General Public License along with
f35d1b
+# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
f35d1b
+# Place, Suite 330, Boston, MA 02111-1307 USA.
f35d1b
+#
f35d1b
+# Copyright (C) 2005 Red Hat, Inc.
f35d1b
+# All rights reserved.
f35d1b
+# END COPYRIGHT BLOCK
f35d1b
+
f35d1b
+#
f35d1b
+# Config stuff for Linux 3.1 (ELF)
f35d1b
+#
f35d1b
+
f35d1b
+include $(CORE_DEPTH)/coreconf/Linux.mk
f35d1b
+
f35d1b
+OS_REL_CFLAGS   += -DLINUX2_1
f35d1b
+MKSHLIB         = $(CC) -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
f35d1b
+ifdef BUILD_OPT
f35d1b
+            OPTIMIZER       = -O2
f35d1b
+endif
f35d1b
+
f35d1b
+ifdef MAPFILE
f35d1b
+	MKSHLIB += -Wl,--version-script,$(MAPFILE)
f35d1b
+endif
f35d1b
+PROCESS_MAP_FILE = grep -v ';-' $(LIBRARY_NAME).def | \
f35d1b
+        sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
f35d1b
+
f35d1b
diff -up ./esc/src/app/xpcom/rhCoolKey.cpp.fix12 ./esc/src/app/xpcom/rhCoolKey.cpp
f35d1b
--- ./esc/src/app/xpcom/rhCoolKey.cpp.fix12	2011-11-28 19:29:53.894102752 -0800
f35d1b
+++ ./esc/src/app/xpcom/rhCoolKey.cpp	2011-11-28 19:30:46.003028405 -0800
f35d1b
@@ -41,7 +41,6 @@
f35d1b
 #include "prlink.h"
f35d1b
 #include "prthread.h"
f35d1b
 #include "nscore.h"
f35d1b
-#include "nsCopySupport.h"
f35d1b
 #include <vector>
f35d1b
 #include <string>
f35d1b
 #include <time.h>