summaryrefslogtreecommitdiff
path: root/filesystems
diff options
context:
space:
mode:
authorjakllsch <jakllsch>2012-11-22 22:22:45 +0000
committerjakllsch <jakllsch>2012-11-22 22:22:45 +0000
commit8b649ce65066909e8ec0a09c5132c63fd6866ddc (patch)
tree20d6f646d9b67106fa5ea81fd8099632ba6915ab /filesystems
parentdbbc54afef886a936caa77c64b97f3e0e7bb779d (diff)
downloadpkgsrc-8b649ce65066909e8ec0a09c5132c63fd6866ddc.tar.gz
Add (formally allocated) SYS_NAME_ID numbers and config glue to allow
building on NetBSD/x86 5.99.x and 6.x.
Diffstat (limited to 'filesystems')
-rw-r--r--filesystems/openafs/distinfo5
-rw-r--r--filesystems/openafs/patches/patch-aa18
-rw-r--r--filesystems/openafs/patches/patch-src_config_afs__sysnames.h13
3 files changed, 29 insertions, 7 deletions
diff --git a/filesystems/openafs/distinfo b/filesystems/openafs/distinfo
index e4d85f23256..5da02f2bba2 100644
--- a/filesystems/openafs/distinfo
+++ b/filesystems/openafs/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+$NetBSD: distinfo,v 1.2 2012/11/22 22:22:45 jakllsch Exp $
SHA1 (openafs-1.4.14-src.tar.bz2) = 2b4e7c839bbf8f577fdd4831e7a3b3ebb9c41926
RMD160 (openafs-1.4.14-src.tar.bz2) = ecc038d7f9068d420cf1c94f9c01db5ecd1accac
Size (openafs-1.4.14-src.tar.bz2) = 11813993 bytes
-SHA1 (patch-aa) = 3dde7848f9773fd8398156149368748146564eee
+SHA1 (patch-aa) = f85439544b75de0fc1d5ed8726d05c519a106088
SHA1 (patch-src_afsd_afsd.c) = ccc518675fc4b4fa594bb6b3a9f2c36e03df2ea6
SHA1 (patch-src_comerr_Makefile.in) = f325c813dab0dc62592abead6d112ce15df086c9
+SHA1 (patch-src_config_afs__sysnames.h) = 30b385e25d3e45cea02b7df9508eba095765b4f0
SHA1 (patch-src_config_param.nbsd30.h) = 64bbe81ef7208b6e3f70af4eddcb9d535e8a9c34
SHA1 (patch-src_config_param.nbsd40.h) = ddfb69d2255629946e6df8416e6e2fcbfc0ffabb
diff --git a/filesystems/openafs/patches/patch-aa b/filesystems/openafs/patches/patch-aa
index 592402654d4..b12ce7a4ee1 100644
--- a/filesystems/openafs/patches/patch-aa
+++ b/filesystems/openafs/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+$NetBSD: patch-aa,v 1.2 2012/11/22 22:22:45 jakllsch Exp $
--- configure.orig 2010-12-17 16:06:16.000000000 +0000
+++ configure
-@@ -5999,6 +5999,22 @@ echo $ECHO_N "checking your AFS sysname.
+@@ -5999,6 +5999,30 @@ echo $ECHO_N "checking your AFS sysname.
AFS_PARAM_COMMON=param.nbsd40.h
AFS_SYSNAME="i386_nbsd40"
;;
@@ -22,10 +22,18 @@ $NetBSD: patch-aa,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+ AFS_PARAM_COMMON=param.nbsd60.h
+ AFS_SYSNAME="amd64_nbsd60"
+ ;;
++ i?86-*-netbsd*6.[0-8]*)
++ AFS_PARAM_COMMON=param.nbsd60.h
++ AFS_SYSNAME="i386_nbsd60"
++ ;;
++ x86_64-*-netbsd*6.[0-8]*)
++ AFS_PARAM_COMMON=param.nbsd60.h
++ AFS_SYSNAME="amd64_nbsd60"
++ ;;
hppa*-hp-hpux11.0*)
AFS_SYSNAME="hp_ux110"
;;
-@@ -24555,7 +24571,7 @@ case $AFS_SYSNAME in
+@@ -24555,7 +24579,7 @@ case $AFS_SYSNAME in
YACC="byacc"
;;
@@ -34,7 +42,7 @@ $NetBSD: patch-aa,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
LEX="flex -l"
MT_CFLAGS='${XCFLAGS} -DAFS_PTHREAD_ENV -D_REENTRANT '
MT_LIBS="-lpthread" # XXX -pthread soon
-@@ -24563,7 +24579,14 @@ case $AFS_SYSNAME in
+@@ -24563,7 +24587,14 @@ case $AFS_SYSNAME in
SHLIB_LDFLAGS="-shared -Xlinker -x"
SHLIB_LINKER="${MT_CC} -shared"
TXLIBS="/usr/lib/libcurses.so"
@@ -50,7 +58,7 @@ $NetBSD: patch-aa,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
YACC="yacc"
;;
-@@ -25490,6 +25513,8 @@ if test "x$enable_optimize_lwp" = "xno";
+@@ -25490,6 +25521,8 @@ if test "x$enable_optimize_lwp" = "xno";
LWP_OPTMZ=
fi
diff --git a/filesystems/openafs/patches/patch-src_config_afs__sysnames.h b/filesystems/openafs/patches/patch-src_config_afs__sysnames.h
new file mode 100644
index 00000000000..c7e26cb8964
--- /dev/null
+++ b/filesystems/openafs/patches/patch-src_config_afs__sysnames.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_config_afs__sysnames.h,v 1.1 2012/11/22 22:22:45 jakllsch Exp $
+
+--- src/config/afs_sysnames.h.orig 2010-12-17 15:58:42.000000000 +0000
++++ src/config/afs_sysnames.h
+@@ -238,6 +238,8 @@
+ #define SYS_NAME_ID_macppc_nbsd30 2539
+ #define SYS_NAME_ID_macppc_nbsd40 2540
+ #define SYS_NAME_ID_macppc_nbsd50 2541
++#define SYS_NAME_ID_amd64_nbsd60 2542
++#define SYS_NAME_ID_i386_nbsd60 2543
+
+ #define SYS_NAME_ID_i386_obsd31 2600
+ #define SYS_NAME_ID_i386_obsd32 2601