mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 10:48:03 -04:00
68 lines
2.2 KiB
Plaintext
68 lines
2.2 KiB
Plaintext
$NetBSD: patch-ab,v 1.3 2013/07/05 13:39:05 ryoon Exp $
|
|
|
|
* Fix giflib detection with 5.0.
|
|
|
|
--- configure.orig 2008-09-05 16:21:51.000000000 +0000
|
|
+++ configure
|
|
@@ -1809,7 +1809,7 @@ archlibdir='${libexecdir}/emacs/${versio
|
|
docdir='${datadir}/emacs/${version}/etc'
|
|
gamedir='${localstatedir}/games/emacs'
|
|
|
|
-gameuser=games
|
|
+gameuser=${GAMEOWN}
|
|
|
|
|
|
# Check whether --with-gcc was given.
|
|
@@ -2243,9 +2243,9 @@ _ACEOF
|
|
m68k-*-netbsd*)
|
|
# This is somewhat bogus.
|
|
machine=hp9000s300 ;;
|
|
- mips-*-netbsd*) machine=pmax ;;
|
|
- mipsel-*-netbsd*) machine=pmax ;;
|
|
- mipseb-*-netbsd*) machine=pmax ;;
|
|
+ mips-*-netbsd*) machine=mips ;;
|
|
+ mipsel-*-netbsd*) machine=mips ;;
|
|
+ mipseb-*-netbsd*) machine=mips ;;
|
|
ns32k-*-netbsd*) machine=ns32000 ;;
|
|
powerpc-*-netbsd*) machine=macppc ;;
|
|
sparc*-*-netbsd*) machine=sparc ;;
|
|
@@ -3142,6 +3142,7 @@ _ACEOF
|
|
*-sysv5uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
|
|
*-sysv5OpenUNIX* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
|
|
*-386bsd* ) opsys=386bsd ;;
|
|
+ *-dragonfly* ) opsys=dragonfly ;;
|
|
*-nextstep* ) opsys=nextstep ;;
|
|
## Otherwise, we'll fall through to the generic opsys code at the bottom.
|
|
esac
|
|
@@ -13897,13 +13898,13 @@ fi
|
|
if test $ac_cv_header_gif_lib_h = yes; then
|
|
# EGifPutExtensionLast only exists from version libungif-4.1.0b1.
|
|
# Earlier versions can crash Emacs.
|
|
- { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
|
|
-echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; }
|
|
+ { echo "$as_me:$LINENO: checking for EGifPutExtensionTrailer in -lgif" >&5
|
|
+echo $ECHO_N "checking for EGifPutExtensionTrailer in -lgif... $ECHO_C" >&6; }
|
|
if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lungif $LIBS"
|
|
+LIBS="-lgif $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -13917,11 +13918,11 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
-char EGifPutExtensionLast ();
|
|
+char EGifPutExtensionTrailer ();
|
|
int
|
|
main ()
|
|
{
|
|
-return EGifPutExtensionLast ();
|
|
+return EGifPutExtensionTrailer ();
|
|
;
|
|
return 0;
|
|
}
|