1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/graphics/xmps/files/patch-aa
2000-10-05 07:10:50 +00:00

66 lines
1.9 KiB
Plaintext

--- configure.orig Wed May 17 23:43:36 2000
+++ configure Thu Jun 15 13:32:11 2000
@@ -1536,6 +1536,7 @@
STRETCHER_SRC=
+STRETCHER_OBJ=
# Extract the first word of "nasm", so it can be a program name with args.
set dummy nasm; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
@@ -1568,6 +1569,7 @@
if test "$have_nasm" = "yes"; then
STRETCHER_SRC="stretch.h stretch.c stretchblt.asm"
+ STRETCHER_OBJ="stretch.lo stretchblt.o"
cat >> confdefs.h <<\EOF
#define AS_STRETCHER 1
EOF
@@ -4060,16 +4062,16 @@
{ echo "configure: error: **** Cannot find stat.h ****" 1>&2; exit 1; }
fi
-ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
-echo "configure:4066: checking for sys/dir.h" >&5
+ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
+echo "configure:4066: checking for dirent.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 4071 "configure"
#include "confdefs.h"
-#include <sys/dir.h>
+#include <dirent.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:4076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
@@ -4091,7 +4093,7 @@
:
else
echo "$ac_t""no" 1>&6
-{ echo "configure: error: **** Cannot find dir.h ****" 1>&2; exit 1; }
+{ echo "configure: error: **** Cannot find dirent.h ****" 1>&2; exit 1; }
fi
@@ -6001,7 +6003,7 @@
< $srcdir/po/POTFILES.in > po/POTFILES
-CFLAGS="$CFLAGS `gtk-config --cflags`"
+CFLAGS="$CFLAGS `$GTK_CONFIG --cflags`"
CODEC_PLUGINS_DIR=Codecs
@@ -6188,6 +6190,7 @@
s%@LIBTOOL@%$LIBTOOL%g
s%@have_nasm@%$have_nasm%g
s%@STRETCHER_SRC@%$STRETCHER_SRC%g
+s%@STRETCHER_OBJ@%$STRETCHER_OBJ%g
s%@CPP@%$CPP%g
s%@X_CFLAGS@%$X_CFLAGS%g
s%@X_PRE_LIBS@%$X_PRE_LIBS%g