Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,12 +1,12 @@
$NetBSD: patch-lib_string.in.h,v 1.1 2014/06/29 06:53:23 obache Exp $
$NetBSD: patch-lib_string.in.h,v 1.2 2016/01/31 09:20:51 ryoon Exp $
* fixes for nested include of string.h.
--- lib/string.in.h.orig 2013-12-04 15:02:02.000000000 +0000
--- lib/string.in.h.orig 2016-01-01 14:17:01.000000000 +0000
+++ lib/string.in.h
@@ -15,6 +15,10 @@
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>. */
@@ -32,12 +32,18 @@
#else
/* Normal invocation convention. */
+#ifdef GL_ALREADY_INCLUDE_STRING_H
+#@INCLUDE_NEXT@ @NEXT_STRING_H@
@@ -14,20 +14,17 @@ $NetBSD: patch-lib_string.in.h,v 1.1 2014/06/29 06:53:23 obache Exp $
+
#ifndef _@GUARD_PREFIX@_STRING_H
#if __GNUC__ >= 3
@@ -22,8 +26,10 @@
#endif
@PRAGMA_COLUMNS@
#define _GL_ALREADY_INCLUDING_STRING_H
+#define GL_ALREADY_INCLUDE_STRING_H
/* The include_next requires a split double-inclusion guard. */
#@INCLUDE_NEXT@ @NEXT_STRING_H@
+#undef GL_ALREADY_INCLUDE_STRING_H
#ifndef _@GUARD_PREFIX@_STRING_H
#define _@GUARD_PREFIX@_STRING_H
@@ -1027,3 +1033,4 @@ _GL_WARN_ON_USE (strverscmp, "strverscmp
#undef _GL_ALREADY_INCLUDING_STRING_H
@@ -1044,3 +1050,4 @@ _GL_WARN_ON_USE (strverscmp, "strverscmp
#endif /* _@GUARD_PREFIX@_STRING_H */
#endif /* _@GUARD_PREFIX@_STRING_H */
#endif
+#endif