Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/flex/dist/src avoid redefinition of the package...



details:   https://anonhg.NetBSD.org/src/rev/d7c77d2c618a
branches:  trunk
changeset: 834614:d7c77d2c618a
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Aug 20 10:26:58 2018 +0000

description:
avoid redefinition of the package macros.

diffstat:

 external/bsd/flex/dist/src/flexdef.h |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r d9dc8823d042 -r d7c77d2c618a external/bsd/flex/dist/src/flexdef.h
--- a/external/bsd/flex/dist/src/flexdef.h      Mon Aug 20 10:24:17 2018 +0000
+++ b/external/bsd/flex/dist/src/flexdef.h      Mon Aug 20 10:26:58 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: flexdef.h,v 1.5 2018/08/20 10:24:17 kre Exp $  */
+/*     $NetBSD: flexdef.h,v 1.6 2018/08/20 10:26:58 christos Exp $     */
 
 /* flexdef - definitions file for flex */
 
@@ -36,8 +36,14 @@
 #ifndef FLEXDEF_H
 #define FLEXDEF_H 1
 
-#if !defined(_NETBSD_SOURCE) && HAVE_NBTOOL_CONFIG_H
+#if HAVE_NBTOOL_CONFIG_H
 #include "nbtool_config.h"
+#undef PACKAGE_BUGREPORT
+#undef PACKAGE_NAME
+#undef PACKAGE_STRING
+#undef PACKAGE_TARNAME 
+#undef PACKAGE_URL
+#undef PACKAGE_VERSION
 #endif
 
 #ifdef HAVE_CONFIG_H



Home | Main Index | Thread Index | Old Index