ports/devel/ccache/files/patch-configure.ac
Bryan Drewery b408ef56b8 Add a patch for memcached to ccache along with a slave devel/ccache-memcached port.
This patch is not safe for WITH_CCACHE_BUILD support yet as that causes all
ports to depend on devel/ccache.  Enabling that patch would then cause the
new devel/libmemcached dependency to require devel/ccache which is a cyclic
dependency.  The autoconf dependency also causes issues.

Add a devel/ccache-memcached slave port that would allow a user to use
the ccache+memcached package manually with ports without WITH_CCACHE_BUILD.

This patch comes from https://github.com/ccache/ccache/pull/58 and has been
an ongoing effort over a few years to be merged into the mainline of ccache.
Documenation for it can be found in the MANUAL file at:

  /usr/local/share/doc/ccache/MANUAL.txt

Sponsored by:	Dell EMC Isilon
2017-02-17 23:23:47 +00:00

19 lines
641 B
Text

--- m4/feature_macros.m4.orig 2017-02-13 15:05:54.405968000 -0800
+++ m4/feature_macros.m4 2017-02-13 15:16:32.931104000 -0800
@@ -120,7 +120,7 @@
Define to the level of X/Open that your system supports)
;;
*)
- AC_DEFINE(_XOPEN_SOURCE, 600,
+ AC_DEFINE(_XOPEN_SOURCE, 700,
Define to the level of X/Open that your system supports)
;;
esac
@@ -142,6 +142,6 @@
;;
esac
- AC_DEFINE(_POSIX_C_SOURCE, 200112L, Define to activate features from IEEE Stds 1003.1-2001)
+ AC_DEFINE(_POSIX_C_SOURCE, 200809L, Define to activate features from IEEE Stds 1003.1-2001)
fi