File: configure_indirect_linking.diff

package info (click to toggle)
xpaint 2.9.1.4-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 5,552 kB
  • sloc: ansic: 73,017; sh: 492; yacc: 247; lex: 126; sed: 43; makefile: 11
file content (22 lines) | stat: -rw-r--r-- 1,001 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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