Source-Changes-HG archive

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

[src/netbsd-8]: src Pull up following revision(s) (requested by simonb in tic...



details:   https://anonhg.NetBSD.org/src/rev/7ac4b67e36ae
branches:  netbsd-8
changeset: 949291:7ac4b67e36ae
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jan 08 13:02:56 2021 +0000

description:
Pull up following revision(s) (requested by simonb in ticket #1646):

        external/bsd/ipf/Makefile.inc: revision 1.6
        compat/exec.mk: revision 1.5

Use the compat machinery to build "native" IPF binaries as ipfilter
doesn't use compat32 64-bit alignment/size safe structures.

Fixes IPF on at least mips64.

diffstat:

 compat/exec.mk                |  7 +++++--
 external/bsd/ipf/Makefile.inc |  4 +++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r a7f54411033e -r 7ac4b67e36ae compat/exec.mk
--- a/compat/exec.mk    Fri Jan 01 13:21:11 2021 +0000
+++ b/compat/exec.mk    Fri Jan 08 13:02:56 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: exec.mk,v 1.3 2017/01/05 21:28:42 skrll Exp $
+#      $NetBSD: exec.mk,v 1.3.8.1 2021/01/08 13:02:56 martin Exp $
 
 # this makefile fragment can be included to modify the default
 # ABI a program is compiled with.  this is designed to be used
@@ -7,6 +7,7 @@
 
 # currently this file is used by these Makefiles:
 #
+#   external/bsd/ipf/Makefile.inc 
 #   sbin/savecore/Makefile
 #   usr.bin/fstat/Makefile
 #   usr.bin/netstat/Makefile
@@ -22,7 +23,9 @@
 # can be considered "not a bug".  all the *stat tools should
 # be converted to use sysctl(3) on the running kernel, and
 # anyone who needs kvm-access on crash dumps can build their
-# own 64 bit version as necessary.
+# own 64 bit version as necessary.  ipfilter doesn't use
+# 64-bit alignment/size safe structures.
+# 
 
 # mips64 defaults to 32 bit userland, but with a 64 bit kernel
 # most kvm-using tools are happier with 64 bit.
diff -r a7f54411033e -r 7ac4b67e36ae external/bsd/ipf/Makefile.inc
--- a/external/bsd/ipf/Makefile.inc     Fri Jan 01 13:21:11 2021 +0000
+++ b/external/bsd/ipf/Makefile.inc     Fri Jan 08 13:02:56 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.3 2017/01/11 12:19:43 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.3.6.1 2021/01/08 13:02:56 martin Exp $
 
 WARNS?=        1       # XXX -Wcast-qual -Wshadow
 CWARNFLAGS.clang+=     -Wno-format -Wno-tautological-compare \
@@ -36,3 +36,5 @@
        ${UDIST}/lib    \
        ${UDIST}/tools  \
        ${UDIST}/man
+
+.include "../../compat/exec.mk"



Home | Main Index | Thread Index | Old Index