pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/binwalk



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Sep 22 17:24:55 UTC 2025

Modified Files:
        pkgsrc/sysutils/binwalk: Makefile

Log Message:
binwalk: fix build on NetBSD w/ HAVE_GCC=14


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/sysutils/binwalk/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/binwalk/Makefile
diff -u pkgsrc/sysutils/binwalk/Makefile:1.11 pkgsrc/sysutils/binwalk/Makefile:1.12
--- pkgsrc/sysutils/binwalk/Makefile:1.11       Mon Jan 13 21:28:07 2025
+++ pkgsrc/sysutils/binwalk/Makefile    Mon Sep 22 17:24:55 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2025/01/13 21:28:07 tnn Exp $
+# $NetBSD: Makefile,v 1.12 2025/09/22 17:24:55 tnn Exp $
 
 DISTNAME=      binwalk-3.1.0
 CATEGORIES=    sysutils
@@ -14,6 +14,7 @@ USE_TOOLS+=   pkg-config
 
 RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.fontconfig}/lib
 RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.freetype2}/lib
+CFLAGS.NetBSD+=        -D_NETBSD_SOURCE=1      # for gettimeofday(2)
 
 .include "cargo-depends.mk"
 



Home | Main Index | Thread Index | Old Index