summaryrefslogtreecommitdiff
path: root/security/heimdal/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'security/heimdal/patches/patch-ad')
-rw-r--r--security/heimdal/patches/patch-ad41
1 files changed, 33 insertions, 8 deletions
diff --git a/security/heimdal/patches/patch-ad b/security/heimdal/patches/patch-ad
index 4d5f341607d..9a5986b9d98 100644
--- a/security/heimdal/patches/patch-ad
+++ b/security/heimdal/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.8 2007/02/20 10:17:14 rillig Exp $
+$NetBSD: patch-ad,v 1.9 2008/02/28 08:14:41 jlam Exp $
---- configure.orig Mon Feb 6 08:29:16 2006
-+++ configure Mon Feb 19 18:06:05 2007
-@@ -3182,9 +3182,6 @@
+--- configure.orig 2008-01-24 08:14:11.000000000 -0500
++++ configure
+@@ -3928,9 +3928,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
@@ -10,13 +10,38 @@ $NetBSD: patch-ad,v 1.8 2007/02/20 10:17:14 rillig Exp $
-test "$localstatedir" = '${prefix}/var' && localstatedir='/var/heimdal'
-
# Make sure we can run config.sub.
- $ac_config_sub sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
-@@ -4199,7 +4196,6 @@
+ $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
+ { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
+@@ -4902,7 +4899,11 @@ fi #if test -n "$GCC"; then
esac
CC="$CC $abi"
-libdir="$libdir$abilibdirext"
++#
++# Comment out the following line for pkgsrc as pkgsrc always installs
++# libraries into .../lib, not .../lib{32,64}.
++#
++#libdir="$libdir$abilibdirext"
- echo "$as_me:$LINENO: checking for __attribute__" >&5
+ { echo "$as_me:$LINENO: checking for __attribute__" >&5
+@@ -29714,6 +29715,9 @@ _ACEOF
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
+ #ifdef HAVE_SYS_BSWAP_H
+ #include <sys/bswap.h>
+ #endif
+@@ -29925,6 +29929,9 @@ _ACEOF
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
+ #ifdef HAVE_SYS_BSWAP_H
+ #include <sys/bswap.h>
+ #endif