Bug#603196: libtheora0: Theora is built without -fPIC

Petter Reinholdtsen pere at hungry.com
Wed Oct 22 19:13:24 UTC 2014


Control: tags -1 + patch

[Vladimir Berezenko]
> libtheora should be configured with --with-pic arg appended.

Just to illuminate those of us know knowing, can you tell me why it
should be configured like this?  The default seem to be to use both
PIC and non-PIC.  Why is that not good enough?

I suspect this patch will solve the issue, if it should be solved.

diff --git a/debian/rules b/debian/rules
index db83574..92d855d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,6 @@ override_dh_installdocs:
 
 override_dh_autoreconf:
 	dh_autoreconf autoreconf -- -i -f -I m4
+
+override_dh_auto_configure:
+	dh_auto_configure -- --with-pic $(shell dpkg-buildflags --export=configure)

-- 
Happy hacking
Petter Reinholdtsen



More information about the pkg-xiph-maint mailing list