summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-11-19 18:41:13 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-11-19 18:41:13 +0000
commit2ed6bc68e9361d6d93f29bf214d14c2ebbe90eea (patch)
tree39d22fc74ef65012d6bf3f451bb44a3c8f6d17e4 /dev-java/swt/files/swt-3.2.1-remove-stripping.patch
parentRemove old version (diff)
downloadhistorical-2ed6bc68e9361d6d93f29bf214d14c2ebbe90eea.tar.gz
historical-2ed6bc68e9361d6d93f29bf214d14c2ebbe90eea.tar.bz2
historical-2ed6bc68e9361d6d93f29bf214d14c2ebbe90eea.zip
Version bump and removed old revision. Fixes bug #155649.
Package-Manager: portage-2.1.2_rc2
Diffstat (limited to 'dev-java/swt/files/swt-3.2.1-remove-stripping.patch')
-rw-r--r--dev-java/swt/files/swt-3.2.1-remove-stripping.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-java/swt/files/swt-3.2.1-remove-stripping.patch b/dev-java/swt/files/swt-3.2.1-remove-stripping.patch
new file mode 100644
index 000000000000..db63cd75a80b
--- /dev/null
+++ b/dev-java/swt/files/swt-3.2.1-remove-stripping.patch
@@ -0,0 +1,35 @@
+--- make_linux.mak.old 2006-11-19 18:11:38.000000000 +0200
++++ make_linux.mak 2006-11-19 18:20:00.000000000 +0200
+@@ -52,7 +52,7 @@
+
+ CDE_LIBS = -L$(CDE_HOME)/lib -R$(CDE_HOME)/lib -lXt -lX11 -lDtSvc
+
+-AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt -shared -s
++AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt -shared
+
+ ATKCFLAGS = `pkg-config --cflags atk gtk+-2.0`
+ ATKLIBS = `pkg-config --libs-only-L atk gtk+-2.0` -latk-1.0 -lgtk-x11-2.0
+@@ -80,7 +80,7 @@
+ -I$(JAVA_HOME)/include \
+ -I$(JAVA_HOME)/include/linux \
+ ${SWT_PTR_CFLAGS}
+-MOZILLALIBS = -shared -s -Wl,--version-script=mozilla_exports -Bsymbolic
++MOZILLALIBS = -shared -Wl,--version-script=mozilla_exports -Bsymbolic
+
+ SWT_OBJECTS = swt.o callback.o
+ CDE_OBJECTS = swt.o cde.o cde_structs.o cde_stats.o
+@@ -103,8 +103,13 @@
+ -I$(JAVA_HOME)/include/linux \
+ -fPIC \
+ ${SWT_PTR_CFLAGS}
+-LIBS = -shared -fPIC -s
++LIBS = -shared -fPIC
+
++ifndef NO_STRIP
++ AWT_LIBS := $(AWT_LIBS) -s
++ MOZILLALIBS := $(MOZILLALIBS) -S
++ LIBS := $(LIBS) -s
++endif
+
+ all: make_swt make_atk make_gnome make_glx
+