diff options
author | joerg <joerg@pkgsrc.org> | 2020-03-18 17:45:25 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-03-18 17:45:25 +0000 |
commit | f9451a73bba2fb1ce0167163f3730ea9a781213d (patch) | |
tree | 3fd419e5e52244d1d70e7acf4b273d6ecac44c0f /cad | |
parent | 67e3c5e7dbf2c5a278d302ac62578887df61ab9a (diff) | |
download | pkgsrc-f9451a73bba2fb1ce0167163f3730ea9a781213d.tar.gz |
Not really C++11 ready. Don't define bool/true/false for C++.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/veriwell/Makefile | 4 | ||||
-rw-r--r-- | cad/veriwell/distinfo | 3 | ||||
-rw-r--r-- | cad/veriwell/patches/patch-src_acc__user.h | 27 |
3 files changed, 31 insertions, 3 deletions
diff --git a/cad/veriwell/Makefile b/cad/veriwell/Makefile index 05b505ccbba..0534e0db988 100644 --- a/cad/veriwell/Makefile +++ b/cad/veriwell/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2016/10/09 13:14:06 kamil Exp $ +# $NetBSD: Makefile,v 1.2 2020/03/18 17:45:25 joerg Exp $ DISTNAME= veriwell-2.8.7 CATEGORIES= cad @@ -10,7 +10,7 @@ COMMENT= Verilog Simulator LICENSE= gnu-gpl-v2 GNU_CONFIGURE= yes -USE_LANGUAGES= c c++ +USE_LANGUAGES= c c++03 TEST_TARGET= check diff --git a/cad/veriwell/distinfo b/cad/veriwell/distinfo index 59ab4c5c7c8..91fa5a3389b 100644 --- a/cad/veriwell/distinfo +++ b/cad/veriwell/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1 2016/10/09 13:14:06 kamil Exp $ +$NetBSD: distinfo,v 1.2 2020/03/18 17:45:25 joerg Exp $ SHA1 (veriwell-2.8.7.tar.gz) = 9ef4e6a25a4fd65db325a89ed89b199547fabbd6 RMD160 (veriwell-2.8.7.tar.gz) = 3d86c40b353f701d61cab301e0f7c3ec136c88e7 SHA512 (veriwell-2.8.7.tar.gz) = c0858ce71bd8cfef989e96899bc0d5fc0c919d8248cad0bebde7faf31073cde0423ddb168cf0fabb9f7b46ced7b953ad392627b7e1ad5ea1e7ef75f9524717a8 Size (veriwell-2.8.7.tar.gz) = 875596 bytes +SHA1 (patch-src_acc__user.h) = 308c237f63ecb8a856ab7640ea1e00a57ce34378 diff --git a/cad/veriwell/patches/patch-src_acc__user.h b/cad/veriwell/patches/patch-src_acc__user.h new file mode 100644 index 00000000000..4cf5541064a --- /dev/null +++ b/cad/veriwell/patches/patch-src_acc__user.h @@ -0,0 +1,27 @@ +$NetBSD: patch-src_acc__user.h,v 1.1 2020/03/18 17:45:25 joerg Exp $ + +--- src/acc_user.h.orig 2020-03-18 16:17:15.862134072 +0000 ++++ src/acc_user.h +@@ -30,10 +30,12 @@ + + typedef int *handle; + ++#ifndef __cplusplus + #define bool int + #define true 1 +-#define TRUE 1 + #define false 0 ++#endif ++#define TRUE 1 + #define FALSE 0 + + #define global extern +@@ -41,7 +43,7 @@ typedef int *handle; + #define local static + #define null 0L + +-extern bool acc_error_flag; ++extern int acc_error_flag; + + + /**********************************************************************/ |