sdcc: add gcc4 patch (remove bogus extra :: qualification)
authorMichael Lauer <mickey@vanille-media.de>
Thu, 19 Oct 2006 19:40:03 +0000 (19:40 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Thu, 19 Oct 2006 19:40:03 +0000 (19:40 +0000)
packages/sdcc/files/.mtn2git_empty [new file with mode: 0644]
packages/sdcc/files/gcc4.patch [new file with mode: 0644]
packages/sdcc/sdcc_2.5.0.bb

diff --git a/packages/sdcc/files/.mtn2git_empty b/packages/sdcc/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/sdcc/files/gcc4.patch b/packages/sdcc/files/gcc4.patch
new file mode 100644 (file)
index 0000000..31eed50
--- /dev/null
@@ -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);
index 65eaf02..117770e 100644 (file)
@@ -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 = ""