summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjarke Istrup Pedersen <gurligebis@gentoo.org>2009-01-03 20:13:45 +0000
committerBjarke Istrup Pedersen <gurligebis@gentoo.org>2009-01-03 20:13:45 +0000
commitf8da7578723559c54d50886d103fa9dc57b35c3a (patch)
treeec1773277962dcd4243574f06c301ee43883a16a /net-irc/ircservices/files
parentfix quoting (diff)
downloadhistorical-f8da7578723559c54d50886d103fa9dc57b35c3a.tar.gz
historical-f8da7578723559c54d50886d103fa9dc57b35c3a.tar.bz2
historical-f8da7578723559c54d50886d103fa9dc57b35c3a.zip
Bumping to 5.1.14 and taking over package
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28 i686
Diffstat (limited to 'net-irc/ircservices/files')
-rw-r--r--net-irc/ircservices/files/ircservices-5.1.14-fPIC-configure.patch14
-rw-r--r--net-irc/ircservices/files/ircservices-5.1.14-fPIC.patch12
2 files changed, 26 insertions, 0 deletions
diff --git a/net-irc/ircservices/files/ircservices-5.1.14-fPIC-configure.patch b/net-irc/ircservices/files/ircservices-5.1.14-fPIC-configure.patch
new file mode 100644
index 000000000000..8e279031b2e0
--- /dev/null
+++ b/net-irc/ircservices/files/ircservices-5.1.14-fPIC-configure.patch
@@ -0,0 +1,14 @@
+--- ircservices-5.1.12/configure 2008-09-22 17:35:52.000000000 +0000
++++ ircservices-5.1.12.orig/configure 2008-09-22 17:33:51.000000000 +0000
+@@ -1296,9 +1296,9 @@
+ fi
+ if [ "$OK" ] ; then
+ if [ "x`uname -s`" = "xOSF1" ] ; then
+- CC_SHARED="$CC -shared -Wl,-expect_unresolved"
++ CC_SHARED="$CC -shared -Wl,-expect_unresolved -fPIC"
+ else
+- CC_SHARED="$CC -shared"
++ CC_SHARED="$CC -shared -fPIC"
+ fi
+ if run $CC_SHARED $CC_FLAGS $CC_LIBS $CONFTMP/test-lib.c -o $CONFTMP/test-lib.so && run $CC_SHARED $CC_FLAGS $CC_LIBS $CONFTMP/test-lib2.c -o $CONFTMP/test-lib2.so ; then
+ log "-shared works"
diff --git a/net-irc/ircservices/files/ircservices-5.1.14-fPIC.patch b/net-irc/ircservices/files/ircservices-5.1.14-fPIC.patch
new file mode 100644
index 000000000000..788723c5be00
--- /dev/null
+++ b/net-irc/ircservices/files/ircservices-5.1.14-fPIC.patch
@@ -0,0 +1,12 @@
+diff -Nur ircservices-5.1.12/modules/Makerules ircservices-5.1.12.orig/modules/Makerules
+--- ircservices-5.1.12/modules/Makerules 2008-09-22 17:37:48.000000000 +0000
++++ ircservices-5.1.12.orig/modules/Makerules 2008-09-22 17:33:51.000000000 +0000
+@@ -172,7 +172,7 @@
+ $(TARGET).o: .compiled-$(TARGET).o FRC
+ @echo >/dev/null
+ .compiled-$(TARGET).o: $(TARGET).c $(DEPS) $(INCLUDES2)
+- cd $(TOPDIR) && $(CC) $(CFLAGS) -I. -c modules/$(DIRNAME)/$< -o modules/$(DIRNAME)/$(TARGET).o
++ cd $(TOPDIR) && $(CC) $(CFLAGS) -fPIC -I. -c modules/$(DIRNAME)/$< -o modules/$(DIRNAME)/$(TARGET).o
+ @rm -f $@
+ @ln -s $(TARGET).o $@
+