summaryrefslogtreecommitdiffstats
path: root/source/xap/xpaint/xpaint_2.7.8.1-1.2.diff
blob: 1f8cc82e161bb3828a9d7772e638038c22d66e2c (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
--- ./misc.h.orig	2005-08-15 14:50:05.000000000 -0500
+++ ./misc.h	2007-05-10 16:46:23.000000000 -0500
@@ -24,7 +24,7 @@
 long random(void);
 #endif
 
-#if !defined(__VMS) & !defined(linux) & !defined(__EMX__) & !defined(__FreeBSD__) & !defined(__CYGWIN__)
+#if !defined(__VMS) & !defined(linux) & !defined(__EMX__) & !defined(__FreeBSD__) & !defined(__CYGWIN__) & !defined(__GLIBC__)
 #if defined(BSD4_4) || defined(HPArchitecture) || defined(SGIArchitecture) || defined(_AIX) || defined(_SCO_DS)
 void srandom(unsigned int);
 #else
--- ./Local.config.orig	2005-04-30 16:33:14.000000000 -0500
+++ ./Local.config	2007-05-10 16:47:02.000000000 -0500
@@ -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
--- ./configure.orig	2005-06-03 07:26:11.000000000 -0500
+++ ./configure	2007-05-10 16:46:23.000000000 -0500
@@ -7,7 +7,7 @@
    echo "(looking for Xaw, Xaw3d, Xaw95, neXtaw)"
    echo ""
 else
-   WIDGETS=`echo $1 | tr [a:z] [A:Z]`
+   WIDGETS=`echo $1`
 fi
 
 if test "$WIDGETS" = "" ; then
@@ -54,7 +54,7 @@
    fi
 fi
 
-if test "$WIDGETS" = "XAW3DG" ; then
+if test "$WIDGETS" = "xaw3dg" ; then
    ln -sf /usr/include/X11/Xaw3d xaw_incdir
    echo "XAWLIB_DEFINES = -DXAW3D -DXAW3DG"   
    echo "XAWLIB_DEFINES = -DXAW3D -DXAW3DG" > Local.xawdefs