pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/asc export means something different in C++, not...
details: https://anonhg.NetBSD.org/pkgsrc/rev/acb698d071dd
branches: trunk
changeset: 406434:acb698d071dd
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Dec 21 23:40:43 2019 +0000
description:
export means something different in C++, nothing is actually correct
here. Fix button IDs to actually allow matching. Bump revision.
diffstat:
games/asc/Makefile | 5 +-
games/asc/distinfo | 3 +-
games/asc/patches/patch-source_libs_paragui_include_pgbutton.h | 27 ++++++++++
3 files changed, 32 insertions(+), 3 deletions(-)
diffs (66 lines):
diff -r 8ed4012d8ab1 -r acb698d071dd games/asc/Makefile
--- a/games/asc/Makefile Sat Dec 21 23:39:47 2019 +0000
+++ b/games/asc/Makefile Sat Dec 21 23:40:43 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.65 2019/10/28 12:38:35 nia Exp $
+# $NetBSD: Makefile,v 1.66 2019/12/21 23:40:43 joerg Exp $
DISTNAME= asc-2.6.1.0
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=asc-hq/}
EXTRACT_SUFX= .tar.bz2
@@ -33,7 +34,7 @@
# C++11
GCC_REQD+= 4.7
-CPPFLAGS+= -D__EXPORT__=export
+CPPFLAGS+= -D__EXPORT__=
MAKE_ENV+= top_builddir=.
MAKE_ENV+= src_dir=.
diff -r 8ed4012d8ab1 -r acb698d071dd games/asc/distinfo
--- a/games/asc/distinfo Sat Dec 21 23:39:47 2019 +0000
+++ b/games/asc/distinfo Sat Dec 21 23:40:43 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2019/10/28 12:38:35 nia Exp $
+$NetBSD: distinfo,v 1.15 2019/12/21 23:40:43 joerg Exp $
SHA1 (asc/asc-2.6.1.0.tar.bz2) = 3731e8016143d3c83364f67f4ac7d8e7491b7a50
RMD160 (asc/asc-2.6.1.0.tar.bz2) = f66fd672638c13661618b0e9a7e364a694793322
@@ -17,3 +17,4 @@
SHA512 (asc/time_to_strike.ogg) = 2ed946116cac2ea63d401eb7415d5b3e4e548bc5a5b00b01a6f1c4db6a242895810dfefdf1ace9652f01dc934a70b756aa74d01630cfac97b19ce84a93b772ee
Size (asc/time_to_strike.ogg) = 3830679 bytes
SHA1 (patch-configure) = 03ab5b82af9ec361dd671194554ca30abf9b240e
+SHA1 (patch-source_libs_paragui_include_pgbutton.h) = f4c4f54ddedd68ce956c6fb65d86c599decc6456
diff -r 8ed4012d8ab1 -r acb698d071dd games/asc/patches/patch-source_libs_paragui_include_pgbutton.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/asc/patches/patch-source_libs_paragui_include_pgbutton.h Sat Dec 21 23:40:43 2019 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-source_libs_paragui_include_pgbutton.h,v 1.1 2019/12/21 23:40:43 joerg Exp $
+
+Since GetId() is declared as integer, make sure the constants fit.
+
+--- source/libs/paragui/include/pgbutton.h.orig 2019-12-21 19:52:56.429548693 +0000
++++ source/libs/paragui/include/pgbutton.h
+@@ -129,13 +129,13 @@ public:
+ Standard button IDs
+ */
+ enum {
+- OK = 0x80000001,
+- YES = 0x80000002,
+- NO = 0x80000003,
+- APPLY = 0x80000004,
+- CANCEL = 0x80000005,
+- CLOSE = 0x80000006,
+- HELP = 0x80000007
++ OK = 0x70000001,
++ YES = 0x70000002,
++ NO = 0x70000003,
++ APPLY = 0x70000004,
++ CANCEL = 0x70000005,
++ CLOSE = 0x70000006,
++ HELP = 0x70000007
+ };
+
+ /**
Home |
Main Index |
Thread Index |
Old Index