Blame SOURCES/esc-1.1.0-fix1.patch

f35d1b
--- ./esc/src/app/xpcom/tray/Makefile.sdk.fix1	2009-04-17 13:39:58.000000000 -0700
f35d1b
+++ ./esc/src/app/xpcom/tray/Makefile.sdk	2009-04-17 14:18:17.000000000 -0700
f35d1b
@@ -23,20 +23,20 @@
f35d1b
 include $(CORE_DEPTH)/coreconf/rules.mk
f35d1b
 
f35d1b
 ifeq ($(OS_ARCH),Linux)
f35d1b
-CXXFLAGS        += $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS) $(NOTIFY_CXX_FLAGS)
f35d1b
+CXXFLAGS        += $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS) $(NOTIFY_CXX_FLAGS) -fPIC
f35d1b
 endif
f35d1b
 
f35d1b
 
f35d1b
 # Change this to point at your Gecko SDK directory.
f35d1b
 ifndef GECKO_SDK_PATH
f35d1b
-GECKO_SDK_PATH =/usr/lib/xulrunner-sdk-1.9pre/sdk
f35d1b
+GECKO_SDK_PATH =/usr/lib/xulrunner-sdk-1.9/sdk
f35d1b
 endif
f35d1b
 GECKO_SDK_INCLUDE_PATH=$(GECKO_SDK_PATH)/include
f35d1b
 ifndef GECKO_INCLUDE_PATH
f35d1b
-GECKO_INCLUDE_PATH=/usr/include/xulrunner-sdk-1.9pre
f35d1b
+GECKO_INCLUDE_PATH=/usr/include/xulrunner-sdk-1.9
f35d1b
 endif
f35d1b
 ifndef GECKO_BIN_PATH
f35d1b
-GECKO_BIN_PATH=/usr/lib/xulrunner-1.9pre
f35d1b
+GECKO_BIN_PATH=/usr/lib/xulrunner-1.9
f35d1b
 endif
f35d1b
 
f35d1b
 ifeq ($(OS_ARCH),Darwin)
f35d1b
@@ -148,6 +148,10 @@
f35d1b
 
f35d1b
 endif
f35d1b
 
f35d1b
+ifeq ($(OS_ARCH),Linux)
f35d1b
+GECKO_LD_LIBS= -L$(GECKO_SDK_PATH)/lib $(GECKO_SDK_PATH)/lib/libxpcomglue_s.a
f35d1b
+endif
f35d1b
+
f35d1b
  
f35d1b
 # GCC only define which allows us to not have to #include mozilla-config 
f35d1b
 # in every .cpp file.  If your not using GCC remove this line and add