diff options
Diffstat (limited to 'source.local/xap/xpaint/configure_indirect_linking.diff')
-rw-r--r-- | source.local/xap/xpaint/configure_indirect_linking.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source.local/xap/xpaint/configure_indirect_linking.diff b/source.local/xap/xpaint/configure_indirect_linking.diff new file mode 100644 index 0000000..7ef6753 --- /dev/null +++ b/source.local/xap/xpaint/configure_indirect_linking.diff @@ -0,0 +1,22 @@ +Description: Xpaint needs symbols that are in the library + libfontconfig1. This patch adds -lfontoconfig to the SYS_LIBRARIES in + the configure script in order to avoid build fails. +Forwarded: no +Origin: other, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556719#10 +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556719 +Author: Roy Jamison <xteejyx@googlemail.com> +Last-Update: 2011-02-27 + +--- a/configure ++++ b/configure +@@ -72,8 +72,8 @@ + ln -sf `pwd`/xaw3dxft xaw_incdir + echo "XAWLIB_DEFINES = -DXAW3D -DXAW3DG -DXAW3DXFT" + echo "XAWLIB_DEFINES = -DXAW3D -DXAW3DG -DXAW3DXFT" > Local.xawdefs +- echo "SYS_LIBRARIES = -lXaw3dxft -lXt -L. -L./xaw3dxft" +- echo "SYS_LIBRARIES = -lXaw3dxft -lXt -L. -L./xaw3dxft" >> Local.xawdefs ++ echo "SYS_LIBRARIES = -lXaw3dxft -lXt -lfontconfig -L. -L./xaw3dxft" ++ echo "SYS_LIBRARIES = -lXaw3dxft -lXt -lfontconfig -L. -L./xaw3dxft" >> Local.xawdefs + echo "" + cd xaw3dxft ; xmkmf ; make Xaw3dP.h ; cd .. ; + xmkmf -a |