1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- Update to 4.4.7

- Remove _Bool type detection configure patch
This commit is contained in:
Ganael LAPLANCHE 2013-05-27 09:28:05 +00:00
parent 6e82bab500
commit e39c60629d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319191
3 changed files with 3 additions and 52 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= lftp
PORTVERSION= 4.4.5
PORTVERSION= 4.4.7
CATEGORIES= ftp ipv6
MASTER_SITES= http://ftp.yars.free.net/pub/source/lftp/ \
http://ftp.yars.free.net/pub/source/lftp/old/ \

View File

@ -1,2 +1,2 @@
SHA256 (lftp-4.4.5.tar.gz) = 794639b79c08f8798e5620c24bd145336871be87788137844518ecd599feadf1
SIZE (lftp-4.4.5.tar.gz) = 2485893
SHA256 (lftp-4.4.7.tar.gz) = 96a67a7a363a645b19ee0f3fdc37db745cca6c2a4d99f1d7c63a9225801e24bc
SIZE (lftp-4.4.7.tar.gz) = 2493031

View File

@ -1,49 +0,0 @@
lftp 4.3.3 checked for _Bool using C, not C++ ; keep this behaviour here because
a failure to detect _Bool here would lead to try to re-define it in lftp's
stdbool.h also included by C files, C having this type already defined.
See HAVE__BOOL, "stdbool.h" and <stdbool.h>.
--- configure.orig 2012-01-05 18:27:42.780415913 +0100
+++ configure 2012-01-05 18:31:57.117411742 +0100
@@ -28128,6 +28128,11 @@
#define PROMOTED_MODE_T $gl_cv_promoted_mode_t
_ACEOF
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
@@ -28196,7 +28201,7 @@
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_header_stdbool_h=yes
else
ac_cv_header_stdbool_h=no
@@ -28205,7 +28210,7 @@
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
$as_echo "$ac_cv_header_stdbool_h" >&6; }
- ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
+ ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
if test "x$ac_cv_type__Bool" = xyes; then :
cat >>confdefs.h <<_ACEOF
@@ -28242,6 +28247,11 @@
HAVE__BOOL=0
fi
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
# parse-datetime.y works with bison only.