Package: xpaint
Version: 2.7.8.1-1
Severity: serious
Tags: patch

When building 'xpaint' in a clean 'unstable' chroot,
I get the following error:

gcc -Wall -g -fno-strict-aliasing -O2         -Dlinux -D__amd64__ 
-D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE 
-D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE    
                             -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64         
                                                          -DFUNCPROTO=15 
-DNARROWPROTO    -DERRORBEEP -DFEATURE_FRACTAL  -DXAW3D -DXAW3DG 
-I/usr/X11R6/include/X11           "-DEDITOR=\"x-terminal-emulator -e 
sensible-editor\""           "-DSHAREDIR=\"/usr/share/xpaint\""           
"-DXAPPLOADDIR=\"/etc/X11/app-defaults\""       "-DXPAINT_VERSION=\"2.7.8.1\"" 
"-DLPCCMD=\"/usr/sbin/lpc status\"" -DERRORBEEP -DFEATURE_FRACTAL    -c -o 
graphic.o graphic.c
graphic.c:38:17: error: xpm.h: No such file or directory

With the attached patch 'xpaint' can be compiled on unstable.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xpaint-2.7.8.1/Local.config ./Local.config
--- ../tmp-orig/xpaint-2.7.8.1/Local.config     2006-04-21 12:09:51.000000000 
+0000
+++ ./Local.config      2006-04-21 12:07:13.000000000 +0000
@@ -132,11 +132,11 @@
 XCOMM  You must have the XPM library.
 XCOMM  Make sure the path name to the library is correct.
 
-XPM_LIB     = -L/usr/X11R6/lib -lXpm
+XPM_LIB     = -lXpm
 
 XCOMM  Make sure this points to the location of the 'xpm.h' file.
 
-XPM_INCLUDE = -I/usr/X11R6/include/X11
+XPM_INCLUDE = -I/usr/include/X11
 
 
 DEPENDFLAGS = -I./bitmaps
diff -urN ../tmp-orig/xpaint-2.7.8.1/debian/control ./debian/control
--- ../tmp-orig/xpaint-2.7.8.1/debian/control   2006-04-21 12:09:51.000000000 
+0000
+++ ./debian/control    2006-04-21 10:29:13.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Hugo Vanwoerkom <[EMAIL PROTECTED]>
 Uploaders: Florian Ernst <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4), libxaw7-dev, libtiff4-dev, libpng12-dev, 
xutils, xaw3dg-dev
+Build-Depends: debhelper, libxpm-dev, libxaw7-dev, libtiff4-dev, libpng12-dev, 
xutils, xaw3dg-dev
 Standards-Version: 3.6.2
 
 Package: xpaint


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to