pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/codeblocks editors/codeblocks: remove unprotec...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c0d68dac6782
branches: trunk
changeset: 383237:c0d68dac6782
user: he <he%pkgsrc.org@localhost>
date: Mon Aug 15 20:40:11 2022 +0000
description:
editors/codeblocks: remove unprotected asm() for better portability.
Remove unprotected non-portable asm() as per upstream svn.
Ref. https://forums.codeblocks.org/index.php?topic=23761.0
Bump PKGREVISION.
diffstat:
editors/codeblocks/Makefile | 4 +-
editors/codeblocks/distinfo | 3 +-
editors/codeblocks/patches/patch-src_plugins_contrib_dragscroll_dragscrollcfg.h | 16 ++++++++++
3 files changed, 20 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r 3e847f5b942c -r c0d68dac6782 editors/codeblocks/Makefile
--- a/editors/codeblocks/Makefile Mon Aug 15 20:39:21 2022 +0000
+++ b/editors/codeblocks/Makefile Mon Aug 15 20:40:11 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2022/08/11 05:08:15 gutteridge Exp $
+# $NetBSD: Makefile,v 1.22 2022/08/15 20:40:11 he Exp $
#
DISTNAME= codeblocks-20.03
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= editors x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=codeblocks/}
EXTRACT_SUFX= .tar.xz
diff -r 3e847f5b942c -r c0d68dac6782 editors/codeblocks/distinfo
--- a/editors/codeblocks/distinfo Mon Aug 15 20:39:21 2022 +0000
+++ b/editors/codeblocks/distinfo Mon Aug 15 20:40:11 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:21:25 nia Exp $
+$NetBSD: distinfo,v 1.8 2022/08/15 20:40:11 he Exp $
BLAKE2s (codeblocks-20.03.tar.xz) = cd3ebe8279f1b45961100a6cc609e411075af7e20198a12b76e12fdf93c0c2cc
SHA512 (codeblocks-20.03.tar.xz) = f97c1a02d31f0be4dc08b1f19b57bd0d3cba375ab5f33ab91b2a2df7817018f5b3e3063ed07199a3970644f1caa7c7e511db2034c73264f5f4963046d65b0097
Size (codeblocks-20.03.tar.xz) = 11799264 bytes
+SHA1 (patch-src_plugins_contrib_dragscroll_dragscrollcfg.h) = a73b712d0547254a55393ae74fdda9ca4c0c30a1
SHA1 (patch-src_src_prefix.cpp) = 941fe61e81427990ed45b414a0bf98ceb40557cc
diff -r 3e847f5b942c -r c0d68dac6782 editors/codeblocks/patches/patch-src_plugins_contrib_dragscroll_dragscrollcfg.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/codeblocks/patches/patch-src_plugins_contrib_dragscroll_dragscrollcfg.h Mon Aug 15 20:40:11 2022 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_plugins_contrib_dragscroll_dragscrollcfg.h,v 1.1 2022/08/15 20:40:11 he Exp $
+
+Remove unprotected non-portable asm() as per upstream svn.
+Ref. https://forums.codeblocks.org/index.php?topic=23761.0
+
+--- src/plugins/contrib/dragscroll/dragscrollcfg.h.orig 2020-03-28 12:35:51.000000000 +0000
++++ src/plugins/contrib/dragscroll/dragscrollcfg.h
+@@ -35,7 +35,7 @@ class cbDragScrollCfg: public cbConfigur
+ wxString GetBitmapBaseName() const;
+ void OnApply();
+ void OnCancel(){}
+- virtual void InitDialog(){ asm("int3");} /*trap*/
++ virtual void InitDialog(){ } /* was asm("int3"); trap*/
+
+ // pointer to owner of the configuration diaglog needed to
+ // complete the OnApply/OnCancel EndModal() logic
Home |
Main Index |
Thread Index |
Old Index