From: Michael Lauer Date: Thu, 19 Oct 2006 19:40:03 +0000 (+0000) Subject: sdcc: add gcc4 patch (remove bogus extra :: qualification) X-Git-Tag: Release-2010-05/1~9453^2~567^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5920af596603366bf59479bd757bbd01475a090e;p=openembedded.git sdcc: add gcc4 patch (remove bogus extra :: qualification) --- diff --git a/packages/sdcc/files/.mtn2git_empty b/packages/sdcc/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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 = ""