pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/dcfldd dcfldd: Fix build on SunOS/x86.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/964f0d862b45
branches:  trunk
changeset: 374987:964f0d862b45
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Mar 04 18:51:47 2022 +0000

description:
dcfldd: Fix build on SunOS/x86.

diffstat:

 security/dcfldd/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 88e23dc752f9 -r 964f0d862b45 security/dcfldd/Makefile
--- a/security/dcfldd/Makefile  Fri Mar 04 17:55:23 2022 +0000
+++ b/security/dcfldd/Makefile  Fri Mar 04 18:51:47 2022 +0000
@@ -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 @@
 
 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