Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/codeblocks When defining a macro for a very ge...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4dfbed0efce5
branches:  trunk
changeset: 432413:4dfbed0efce5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri May 22 01:18:14 2020 +0000

description:
When defining a macro for a very generic name like type, ensure to
include all system headers first.

diffstat:

 editors/codeblocks/distinfo                                               |   4 +-
 editors/codeblocks/patches/patch-src_sdk_scripting_squirrel_sqbaselib.cpp |  24 ++++++++++
 editors/codeblocks/patches/patch-src_sdk_scripting_squirrel_sqvm.cpp      |  15 ++++++
 3 files changed, 42 insertions(+), 1 deletions(-)

diffs (65 lines):

diff -r 43307859084f -r 4dfbed0efce5 editors/codeblocks/distinfo
--- a/editors/codeblocks/distinfo       Fri May 22 01:17:25 2020 +0000
+++ b/editors/codeblocks/distinfo       Fri May 22 01:18:14 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2017/12/19 20:05:37 markd Exp $
+$NetBSD: distinfo,v 1.4 2020/05/22 01:18:14 joerg Exp $
 
 SHA1 (codeblocks_16.01.tar.gz) = 70aabe8a948dbaa919eb4b87bc74a600e0d93516
 RMD160 (codeblocks_16.01.tar.gz) = e98b034eb8d6cf52a89312f2d5eaa10b17f1355e
@@ -9,6 +9,8 @@
 SHA1 (patch-src_plugins_contrib_wxContribItems_wxchart_configure) = 57f52bac348192b1dbfa63b012a48ed259e5933d
 SHA1 (patch-src_plugins_contrib_wxContribItems_wxthings_configure) = 645d331fc86c872e522ed56fc0764e2a2a77c3c2
 SHA1 (patch-src_plugins_scriptedwizard_resources_opencv_wizard.script) = ec8514c3e816a882104221e5bfb32a6a2937030d
+SHA1 (patch-src_sdk_scripting_squirrel_sqbaselib.cpp) = 6d5bf9f9272ca6d75052e79f65953cb6894d0d6b
+SHA1 (patch-src_sdk_scripting_squirrel_sqvm.cpp) = 7e872890205637d381f0cba9b5ced1695e1e9dc4
 SHA1 (patch-src_sdk_wxpropgrid_configure) = fc842f5964e7a213907d93b81ef35a3f1a4edf19
 SHA1 (patch-src_src_appglobals.cpp) = cb561786251fe14ed777105f207635c219f8634b
 SHA1 (patch-src_src_prefix.cpp) = 941fe61e81427990ed45b414a0bf98ceb40557cc
diff -r 43307859084f -r 4dfbed0efce5 editors/codeblocks/patches/patch-src_sdk_scripting_squirrel_sqbaselib.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/codeblocks/patches/patch-src_sdk_scripting_squirrel_sqbaselib.cpp Fri May 22 01:18:14 2020 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_sdk_scripting_squirrel_sqbaselib.cpp,v 1.1 2020/05/22 01:18:14 joerg Exp $
+
+--- src/sdk/scripting/squirrel/sqbaselib.cpp.orig      2020-05-21 21:08:45.893283969 +0000
++++ src/sdk/scripting/squirrel/sqbaselib.cpp
+@@ -1,6 +1,9 @@
+ /*
+       see copyright notice in squirrel.h
+ */
++#include <stdlib.h>
++#include <stdarg.h>
++#include <ctype.h>
+ #include "sqpcheader.h"
+ #include "sqvm.h"
+ #include "sqstring.h"
+@@ -9,9 +12,6 @@
+ #include "sqfuncproto.h"
+ #include "sqclosure.h"
+ #include "sqclass.h"
+-#include <stdlib.h>
+-#include <stdarg.h>
+-#include <ctype.h>
+ 
+ bool str2num(const SQChar *s,SQObjectPtr &res)
+ {
diff -r 43307859084f -r 4dfbed0efce5 editors/codeblocks/patches/patch-src_sdk_scripting_squirrel_sqvm.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/codeblocks/patches/patch-src_sdk_scripting_squirrel_sqvm.cpp      Fri May 22 01:18:14 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_sdk_scripting_squirrel_sqvm.cpp,v 1.1 2020/05/22 01:18:14 joerg Exp $
+
+--- src/sdk/scripting/squirrel/sqvm.cpp.orig   2020-05-21 21:10:31.622312197 +0000
++++ src/sdk/scripting/squirrel/sqvm.cpp
+@@ -1,9 +1,9 @@
+ /*
+       see copyright notice in squirrel.h
+ */
+-#include "sqpcheader.h"
+ #include <math.h>
+ #include <stdlib.h>
++#include "sqpcheader.h"
+ #include "sqopcodes.h"
+ #include "sqfuncproto.h"
+ #include "sqvm.h"



Home | Main Index | Thread Index | Old Index