Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit spell it defined(__NetBSD__) so it actually m...



details:   https://anonhg.NetBSD.org/xsrc/rev/36343214e41f
branches:  trunk
changeset: 10226:36343214e41f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Mar 15 07:58:54 2019 +0000

description:
spell it defined(__NetBSD__) so it actually matches and we skip this
pragma warning during the build:

Warning: Per application configuration won't work with your OS version.

diffstat:

 external/mit/MesaLib.old/dist/src/mesa/drivers/dri/common/xmlconfig.c |  2 +-
 external/mit/MesaLib/dist/src/util/u_process.c                        |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r d0cdf0f8675c -r 36343214e41f external/mit/MesaLib.old/dist/src/mesa/drivers/dri/common/xmlconfig.c
--- a/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/common/xmlconfig.c     Mon Mar 11 09:17:12 2019 +0000
+++ b/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/common/xmlconfig.c     Fri Mar 15 07:58:54 2019 +0000
@@ -90,7 +90,7 @@
 #endif
 
 #if !defined(GET_PROGRAM_NAME)
-#    if defined(__OpenBSD__) || defined(NetBSD) || defined(__UCLIBC__) || defined(ANDROID)
+#    if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__UCLIBC__) || defined(ANDROID)
 /* This is a hack. It's said to work on OpenBSD, NetBSD and GNU.
  * Rogelio M.Serrano Jr. reported it's also working with UCLIBC. It's
  * used as a last resort, if there is no documented facility available. */
diff -r d0cdf0f8675c -r 36343214e41f external/mit/MesaLib/dist/src/util/u_process.c
--- a/external/mit/MesaLib/dist/src/util/u_process.c    Mon Mar 11 09:17:12 2019 +0000
+++ b/external/mit/MesaLib/dist/src/util/u_process.c    Fri Mar 15 07:58:54 2019 +0000
@@ -97,7 +97,7 @@
 #endif
 
 #if !defined(GET_PROGRAM_NAME)
-#    if defined(__OpenBSD__) || defined(NetBSD) || defined(__UCLIBC__) || defined(ANDROID)
+#    if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__UCLIBC__) || defined(ANDROID)
 /* This is a hack. It's said to work on OpenBSD, NetBSD and GNU.
  * Rogelio M.Serrano Jr. reported it's also working with UCLIBC. It's
  * used as a last resort, if there is no documented facility available. */



Home | Main Index | Thread Index | Old Index