summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-10-19 19:40:03 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-10-19 19:40:03 +0000
commit5920af596603366bf59479bd757bbd01475a090e (patch)
tree6437966f016440f500726cdff33c2b783d63b18f
parent8f278eee0ffb4a56f560d2f8e654058c7d4d74f0 (diff)
sdcc: add gcc4 patch (remove bogus extra :: qualification)
-rw-r--r--packages/sdcc/files/.mtn2git_empty0
-rw-r--r--packages/sdcc/files/gcc4.patch13
-rw-r--r--packages/sdcc/sdcc_2.5.0.bb5
3 files changed, 16 insertions, 2 deletions
diff --git a/packages/sdcc/files/.mtn2git_empty b/packages/sdcc/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/sdcc/files/.mtn2git_empty
diff --git a/packages/sdcc/files/gcc4.patch b/packages/sdcc/files/gcc4.patch
new file mode 100644
index 0000000000..31eed50df8
--- /dev/null
+++ b/packages/sdcc/files/gcc4.patch
@@ -0,0 +1,13 @@
+Index: sdcc/sim/ucsim/cmd.src/newcmdcl.h
+===================================================================
+--- sdcc.orig/sim/ucsim/cmd.src/newcmdcl.h
++++ sdcc/sim/ucsim/cmd.src/newcmdcl.h
+@@ -124,7 +124,7 @@ public:
+ cl_console(int portnumber, class cl_app *the_app);
+ #endif
+ virtual ~cl_console(void);
+- virtual class cl_console *cl_console::clone_for_exec(char *fin);
++ virtual class cl_console *clone_for_exec(char *fin);
+ virtual int init(void);
+
+ virtual bool accept_last(void);
diff --git a/packages/sdcc/sdcc_2.5.0.bb b/packages/sdcc/sdcc_2.5.0.bb
index 65eaf02d44..117770efd8 100644
--- a/packages/sdcc/sdcc_2.5.0.bb
+++ b/packages/sdcc/sdcc_2.5.0.bb
@@ -2,9 +2,10 @@ DESCRIPTION= "SDCC - Small Device C Compiler"
LICENSE = "GPL"
SECTION = "devel"
HOMEPAGE = "http://sdcc.sourceforge.net"
-PR = "r0"
+PR = "r1"
-SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-${PV}.tar.gz \
+ file://gcc4.patch;patch=1"
S = "${WORKDIR}/sdcc"
PARALLEL_MAKE = ""