pkgsrc-Changes archive

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

CVS commit: pkgsrc/cad/veriwell



Module Name:    pkgsrc
Committed By:   joerg
Date:           Wed Mar 18 17:45:25 UTC 2020

Modified Files:
        pkgsrc/cad/veriwell: Makefile distinfo
Added Files:
        pkgsrc/cad/veriwell/patches: patch-src_acc__user.h

Log Message:
Not really C++11 ready. Don't define bool/true/false for C++.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/cad/veriwell/Makefile \
    pkgsrc/cad/veriwell/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/cad/veriwell/patches/patch-src_acc__user.h

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

Modified files:

Index: pkgsrc/cad/veriwell/Makefile
diff -u pkgsrc/cad/veriwell/Makefile:1.1 pkgsrc/cad/veriwell/Makefile:1.2
--- pkgsrc/cad/veriwell/Makefile:1.1    Sun Oct  9 13:14:06 2016
+++ pkgsrc/cad/veriwell/Makefile        Wed Mar 18 17:45:25 2020
@@ -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
 
Index: pkgsrc/cad/veriwell/distinfo
diff -u pkgsrc/cad/veriwell/distinfo:1.1 pkgsrc/cad/veriwell/distinfo:1.2
--- pkgsrc/cad/veriwell/distinfo:1.1    Sun Oct  9 13:14:06 2016
+++ pkgsrc/cad/veriwell/distinfo        Wed Mar 18 17:45:25 2020
@@ -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

Added files:

Index: pkgsrc/cad/veriwell/patches/patch-src_acc__user.h
diff -u /dev/null pkgsrc/cad/veriwell/patches/patch-src_acc__user.h:1.1
--- /dev/null   Wed Mar 18 17:45:25 2020
+++ pkgsrc/cad/veriwell/patches/patch-src_acc__user.h   Wed Mar 18 17:45:25 2020
@@ -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;
+ 
+ 
+ /**********************************************************************/



Home | Main Index | Thread Index | Old Index