tags 404899 patch
kthxbye

On Tue, Jan  2, 2007 at 18:13:10 +0100, Holger Levsen wrote:

> Hi Lamont,
> 
> On Friday 29 December 2006 02:28, [EMAIL PROTECTED] wrote:
> > A full build log can be found at:
> > http://buildd.debian.org/build.php?arch=hppa&pkg=olsrd&ver=0.4.10-3
> 
> Thanks for the bugreport! TTBOMK olsrd has not been build on hppa ever :) But 
> I'll see how to fix this...
> 
Hi Holger,

with the attached patch, olsrd builds fine for me on alpha.

Cheers,
Julien
diff -u olsrd-0.4.10/debian/changelog olsrd-0.4.10/debian/changelog
--- olsrd-0.4.10/debian/changelog
+++ olsrd-0.4.10/debian/changelog
@@ -1,3 +1,10 @@
+olsrd (0.4.10-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build shared objects with -fPIC (closes: #404899).
+
+ -- Julien Cristau <[EMAIL PROTECTED]>  Sat, 26 May 2007 14:24:43 +0200
+
 olsrd (0.4.10-3) unstable; urgency=low
 
   * improved Makefile clean target to allow rebuilds
only in patch2:
unchanged:
--- olsrd-0.4.10.orig/src/cfgparser/Makefile
+++ olsrd-0.4.10/src/cfgparser/Makefile
@@ -55,6 +55,7 @@
 
 LIBNAME ?=	olsrd_cfgparser.so.0.1
 BINNAME ?=	olsrd_cfgparser
+CFLAGS += -fPIC
 
 endif
 
@@ -71,7 +72,7 @@
 ifeq (${OS}, osx)
 LDFLAGS += -dynamiclib -single_module
 else
-LDFLAGS +=	-shared -Wl,-soname,$(LIBNAME)
+LDFLAGS +=	-fPIC -shared -Wl,-soname,$(LIBNAME)
 endif
 
 CFLAGS +=	-DMAKELIB

Attachment: signature.asc
Description: Digital signature

Reply via email to