pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/dcfldd



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri Mar  4 18:51:47 UTC 2022

Modified Files:
        pkgsrc/security/dcfldd: Makefile

Log Message:
dcfldd: Fix build on SunOS/x86.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/dcfldd/Makefile

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

Modified files:

Index: pkgsrc/security/dcfldd/Makefile
diff -u pkgsrc/security/dcfldd/Makefile:1.3 pkgsrc/security/dcfldd/Makefile:1.4
--- pkgsrc/security/dcfldd/Makefile:1.3 Fri Mar 20 11:58:16 2020
+++ pkgsrc/security/dcfldd/Makefile     Fri Mar  4 18:51:47 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/03/20 11:58:16 nia Exp $
+# $NetBSD: Makefile,v 1.4 2022/03/04 18:51:47 jperkin Exp $
 
 DISTNAME=      dcfldd-1.3.4
 CATEGORIES=    security
@@ -11,4 +11,8 @@ LICENSE=      gnu-gpl-v2
 
 GNU_CONFIGURE= yes
 
+CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t
+# Obviously x86-specific, if you want to support SPARC add the necessary logic.
+CFLAGS.SunOS+= -DLITTLE_ENDIAN=1234 -DBYTE_ORDER=LITTLE_ENDIAN
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index