summaryrefslogtreecommitdiff
path: root/sysutils/cfengine38/files/patch-m4-strndup.m4
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2019-06-30 11:01:25 +0000
committerRene Ladan <rene@FreeBSD.org>2019-06-30 11:01:25 +0000
commit0856cf24732f6493f5227d7c381efdb27267fac8 (patch)
tree73ad296af4ac10c701f0d7d50297778836a1a3cc /sysutils/cfengine38/files/patch-m4-strndup.m4
parentx11/xfd x11/xload: Don't mark as broken on aarch64 (diff)
Remove expired ports:
2019-06-30 sysutils/cfengine33: No longer supported upstream 2019-06-30 sysutils/cfengine-masterfiles38: No longer supported upstream 2019-06-30 sysutils/cfengine39: No longer supported upstream 2019-06-30 sysutils/cfengine-masterfiles37: NO longer supported upstream 2019-06-30 sysutils/cfengine37: No longer supported upstream 2019-06-30 net/morebalance: Abandonware and depends on expiring games/libggz 2019-06-30 sysutils/cfengine36: No longer supported upstream 2019-06-30 sysutils/cfengine-masterfiles36: No longer supported upstream 2019-06-30 sysutils/cfengine34: No longer supported upstream 2019-06-30 sysutils/cfengine35: No longer supported upstream 2019-06-30 sysutils/cfengine-masterfiles39: No longer supported upstream 2019-06-30 devel/py-typed-ast12: Use devel/py-typed-ast instead 2019-06-30 devel/rubygem-devise-rails50: Use devel/rubygem-devise (depends on Rails 5.0) instead 2019-06-30 security/rubygem-devise-two-factor-rails50: Use security/rubygem-devise-two-factor (depends on Rails 5.0) instead 2019-06-30 emulators/qemu-riscv: The development has been moved to the upstream 2019-06-30 games/libggz: Abandonware 2019-06-30 games/ggz-txt-client: Abandonware 2019-06-30 games/ggz-sdl-games: Abandonware 2019-06-30 games/ggz-client-libs: Abandonware 2019-06-30 games/ggz-gtk-client: Abandonware 2019-06-30 games/ggz-gtk-games: Abandonware 2019-06-30 sysutils/cfengine38: No longer supported upstream 2019-06-30 devel/llvm40: Obsolete and unmaintained 2019-06-30 www/axis: Abandonware; use www/axis2 instead 2019-06-30 sysutils/cfengine32: No longer supported upstream 2019-06-30 devel/py-msgpack05: Use devel/py-msgpack instead 2019-06-30 devel/rubygem-fastthread: Does not build for all supported Ruby version 2019-06-30 www/rubygem-responders-rails50: Use www/rubygem-responders (depends on Rails 5.0) instead
Notes
Notes: svn path=/head/; revision=505416
Diffstat (limited to 'sysutils/cfengine38/files/patch-m4-strndup.m4')
-rw-r--r--sysutils/cfengine38/files/patch-m4-strndup.m454
1 files changed, 0 insertions, 54 deletions
diff --git a/sysutils/cfengine38/files/patch-m4-strndup.m4 b/sysutils/cfengine38/files/patch-m4-strndup.m4
deleted file mode 100644
index 31e4b7e264de..000000000000
--- a/sysutils/cfengine38/files/patch-m4-strndup.m4
+++ /dev/null
@@ -1,54 +0,0 @@
---- /dev/null 2014-07-29 08:00:54.000000000 -0700
-+++ m4/strndup.m4 2014-07-29 08:01:42.499328796 -0700
-@@ -0,0 +1,51 @@
-+# strndup.m4 serial 21
-+dnl Copyright (C) 2002-2003, 2005-2013 Free Software Foundation, Inc.
-+dnl This file is free software; the Free Software Foundation
-+dnl gives unlimited permission to copy and/or distribute it,
-+dnl with or without modifications, as long as this notice is preserved.
-+
-+AC_DEFUN([cf3_FUNC_STRNDUP],
-+[
-+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
-+ AC_CHECK_DECLS([strndup])
-+ AC_REPLACE_FUNCS([strndup])
-+ if test $ac_cv_have_decl_strndup = no; then
-+ HAVE_DECL_STRNDUP=0
-+ fi
-+
-+ if test $ac_cv_func_strndup = yes; then
-+ HAVE_STRNDUP=1
-+ # AIX 5.3 has a function that tries to copy the entire range specified
-+ # by n, instead of just the length of src.
-+ AC_CACHE_CHECK([for working strndup], [cf3_cv_func_strndup_works],
-+ [AC_RUN_IFELSE([
-+ AC_LANG_PROGRAM([[#include <string.h>
-+ #include <stdlib.h>]], [[
-+#if !HAVE_DECL_STRNDUP
-+ extern
-+ #ifdef __cplusplus
-+ "C"
-+ #endif
-+ char *strndup (const char *, size_t);
-+#endif
-+ char *s;
-+ // Will crash if strndup tries to traverse all 2GB.
-+ s = strndup ("string", 2000000000);
-+ return 0;]])],
-+ [cf3_cv_func_strndup_works=yes],
-+ [cf3_cv_func_strndup_works=no],
-+ [
-+changequote(,)dnl
-+ case $host_os in
-+ aix | aix[3-6]*) cf3_cv_func_strndup_works="guessing no";;
-+ *) cf3_cv_func_strndup_works="guessing yes";;
-+ esac
-+changequote([,])dnl
-+ ])])
-+ case $cf3_cv_func_strndup_works in
-+ *no) AC_LIBOBJ([strndup]) ;;
-+ esac
-+ else
-+ HAVE_STRNDUP=0
-+ fi
-+])