Package: xournal
Version: 0.4.5-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu natty ubuntu-patch
*** /tmp/tmpCBB7V_
In Ubuntu, the attached patch was applied to achieve the following:
This patch solves this ftbfs.
Thanks!
* debian/patches/fix_ftbfs_with_binutils_gold:
- Add -lX11 and -lz LDADD to fix ftbfs with binutils-gold
Thanks for considering the patch.
-- System Information:
Debian Release: squeeze/sid
APT prefers natty-updates
APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37-8-generic (SMP w/1 CPU core)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u xournal-0.4.5/debian/patches/series xournal-0.4.5/debian/patches/series
--- xournal-0.4.5/debian/patches/series
+++ xournal-0.4.5/debian/patches/series
@@ -3,0 +4 @@
+fix_ftbfs_with_binutils_gold
only in patch2:
unchanged:
--- xournal-0.4.5.orig/debian/patches/fix_ftbfs_with_binutils_gold
+++ xournal-0.4.5/debian/patches/fix_ftbfs_with_binutils_gold
@@ -0,0 +1,13 @@
+Description: Add -lX11 and -lz LDADD to fix ftbfs with binutils-gold
+Author: Angel Abad <[email protected]>
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -20,6 +20,6 @@
+ xo-callbacks.c xo-callbacks.h \
+ xo-shapes.c xo-shapes.h
+
+-xournal_LDADD = ttsubset/libttsubset.a @PACKAGE_LIBS@ $(INTLLIBS)
++xournal_LDADD = ttsubset/libttsubset.a @PACKAGE_LIBS@ $(INTLLIBS) -lX11 -lz
+
+ xournal_LDFLAGS = -Wl,--as-needed