diff options
author | jmmv <jmmv@pkgsrc.org> | 2007-08-13 12:09:47 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2007-08-13 12:09:47 +0000 |
commit | fde3ce040605d5b3726bfafe7fc0dd2178190dfa (patch) | |
tree | ab09a864a38cae39448a1c0615c0889b4c65a815 /devel/monotone/patches | |
parent | 53509ad36ed03f6eaf6b1f148ca6f2579f6cef47 (diff) | |
download | pkgsrc-fde3ce040605d5b3726bfafe7fc0dd2178190dfa.tar.gz |
Fix configure under NetBSD 3.0; broken due to an unportable construction
of a 'case' statement. Reported by gavan@ and already sent upstream as
revision 80e9c375945561d2469a25736fa31fa9475f6218.
Diffstat (limited to 'devel/monotone/patches')
-rw-r--r-- | devel/monotone/patches/patch-aa | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/devel/monotone/patches/patch-aa b/devel/monotone/patches/patch-aa new file mode 100644 index 00000000000..b3e3ee213a8 --- /dev/null +++ b/devel/monotone/patches/patch-aa @@ -0,0 +1,64 @@ +$NetBSD: patch-aa,v 1.15 2007/08/13 12:09:47 jmmv Exp $ + +--- configure.orig 2007-08-03 08:15:48.000000000 +0200 ++++ configure +@@ -9208,11 +9208,11 @@ fi + { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 + echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } + case $ac_cv_sizeof_short in +- (2) mtn_s16_type='short' ++ 2) mtn_s16_type='short' + mtn_u16_type='unsigned short' ;; +- (4) mtn_s32_type='short' ++ 4) mtn_s32_type='short' + mtn_u32_type='unsigned short' ;; +- (8) mtn_s64_type='short' ++ 8) mtn_s64_type='short' + mtn_u64_type='unsigned short' ;; + esac + +@@ -9548,11 +9548,11 @@ fi + { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 + echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } + case $ac_cv_sizeof_long in +- (2) mtn_s16_type='long' ++ 2) mtn_s16_type='long' + mtn_u16_type='unsigned long' ;; +- (4) mtn_s32_type='long' ++ 4) mtn_s32_type='long' + mtn_u32_type='unsigned long' ;; +- (8) mtn_s64_type='long' ++ 8) mtn_s64_type='long' + mtn_u64_type='unsigned long' ;; + esac + +@@ -9888,11 +9888,11 @@ fi + { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 + echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } + case $ac_cv_sizeof_int in +- (2) mtn_s16_type='int' ++ 2) mtn_s16_type='int' + mtn_u16_type='unsigned int' ;; +- (4) mtn_s32_type='int' ++ 4) mtn_s32_type='int' + mtn_u32_type='unsigned int' ;; +- (8) mtn_s64_type='int' ++ 8) mtn_s64_type='int' + mtn_u64_type='unsigned int' ;; + esac + +@@ -10243,11 +10243,11 @@ fi + { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 + echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } + case $ac_cv_sizeof_long_long in +- (2) mtn_s16_type='long long' ++ 2) mtn_s16_type='long long' + mtn_u16_type='unsigned long long' ;; +- (4) mtn_s32_type='long long' ++ 4) mtn_s32_type='long long' + mtn_u32_type='unsigned long long' ;; +- (8) mtn_s64_type='long long' ++ 8) mtn_s64_type='long long' + mtn_u64_type='unsigned long long' ;; + esac + if test "$mtn_s64_type" = unknown |