pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cad/veriwell Not really C++11 ready. Don't define bool...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5ca639dde72b
branches: trunk
changeset: 413333:5ca639dde72b
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Mar 18 17:45:25 2020 +0000
description:
Not really C++11 ready. Don't define bool/true/false for C++.
diffstat:
cad/veriwell/Makefile | 4 ++--
cad/veriwell/distinfo | 3 ++-
cad/veriwell/patches/patch-src_acc__user.h | 27 +++++++++++++++++++++++++++
3 files changed, 31 insertions(+), 3 deletions(-)
diffs (61 lines):
diff -r 026d90e91f09 -r 5ca639dde72b cad/veriwell/Makefile
--- a/cad/veriwell/Makefile Wed Mar 18 17:44:24 2020 +0000
+++ b/cad/veriwell/Makefile Wed Mar 18 17:45:25 2020 +0000
@@ -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 @@
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++03
TEST_TARGET= check
diff -r 026d90e91f09 -r 5ca639dde72b cad/veriwell/distinfo
--- a/cad/veriwell/distinfo Wed Mar 18 17:44:24 2020 +0000
+++ b/cad/veriwell/distinfo Wed Mar 18 17:45:25 2020 +0000
@@ -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 -r 026d90e91f09 -r 5ca639dde72b cad/veriwell/patches/patch-src_acc__user.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/veriwell/patches/patch-src_acc__user.h Wed Mar 18 17:45:25 2020 +0000
@@ -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