diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2008-07-27 11:16:14 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2008-07-27 11:16:14 +0000 |
commit | 2bc87869b9b9e1b099a671eea239691155ef1281 (patch) | |
tree | d785d2ba39caa9b4b98eb05b0a28cce3a5ef5c60 /app-misc/graphlcd-base | |
parent | Added missing imlib dependency (fixes bug #233032) (diff) | |
download | gentoo-2-2bc87869b9b9e1b099a671eea239691155ef1281.tar.gz gentoo-2-2bc87869b9b9e1b099a671eea239691155ef1281.tar.bz2 gentoo-2-2bc87869b9b9e1b099a671eea239691155ef1281.zip |
Fix for gcc-4.3, bug #227125.
(Portage version: 2.2_rc3/cvs/Linux 2.6.25.8 i686)
Diffstat (limited to 'app-misc/graphlcd-base')
-rw-r--r-- | app-misc/graphlcd-base/ChangeLog | 6 | ||||
-rw-r--r-- | app-misc/graphlcd-base/files/graphlcd-base-0.1.5-gcc43.patch | 312 | ||||
-rw-r--r-- | app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild | 3 |
3 files changed, 319 insertions, 2 deletions
diff --git a/app-misc/graphlcd-base/ChangeLog b/app-misc/graphlcd-base/ChangeLog index bfa5318205f3..61e2aaae57ec 100644 --- a/app-misc/graphlcd-base/ChangeLog +++ b/app-misc/graphlcd-base/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/graphlcd-base # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/graphlcd-base/ChangeLog,v 1.18 2008/02/22 05:53:56 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/graphlcd-base/ChangeLog,v 1.19 2008/07/27 11:16:14 loki_val Exp $ + + 27 Jul 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/graphlcd-base-0.1.5-gcc43.patch, graphlcd-base-0.1.5-r1.ebuild: + Fix for gcc-4.3, bug #227125. 22 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> graphlcd-base-0.1.5.ebuild: diff --git a/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-gcc43.patch b/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-gcc43.patch new file mode 100644 index 000000000000..5ec1fa276fae --- /dev/null +++ b/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-gcc43.patch @@ -0,0 +1,312 @@ +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/avrctl.c graphlcd-base-0.1.5/glcddrivers/avrctl.c +--- graphlcd-base-0.1.5.orig/glcddrivers/avrctl.c 2008-06-15 14:01:50.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/avrctl.c 2008-06-15 14:02:15.000000000 +0200 +@@ -9,10 +9,11 @@ + * (c) 2005 Andreas Regel <andreas.regel AT powarman.de> + */ + + #include <stdint.h> + #include <syslog.h> ++#include <cstring> + + #include "common.h" + #include "config.h" + #include "port.h" + #include "avrctl.h" +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/config.c graphlcd-base-0.1.5/glcddrivers/config.c +--- graphlcd-base-0.1.5.orig/glcddrivers/config.c 2008-06-15 14:01:52.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/config.c 2008-06-15 14:02:15.000000000 +0200 +@@ -9,10 +9,12 @@ + * (c) 2004 Andreas Regel <andreas.regel AT powarman.de> + */ + + #include <syslog.h> + #include <fstream> ++#include <cstring> ++#include <cstdlib> + + #include "common.h" + #include "config.h" + #include "drivers.h" + +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/framebuffer.c graphlcd-base-0.1.5/glcddrivers/framebuffer.c +--- graphlcd-base-0.1.5.orig/glcddrivers/framebuffer.c 2008-06-15 14:01:53.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/framebuffer.c 2008-06-15 14:02:15.000000000 +0200 +@@ -14,10 +14,12 @@ + #include <stdio.h> + #include <syslog.h> + #include <unistd.h> + #include <sys/mman.h> + #include <sys/ioctl.h> ++#include <cstdlib> ++#include <cstring> + + #include "common.h" + #include "config.h" + #include "framebuffer.h" + +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/g15daemon.c graphlcd-base-0.1.5/glcddrivers/g15daemon.c +--- graphlcd-base-0.1.5.orig/glcddrivers/g15daemon.c 2008-06-15 13:47:31.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/g15daemon.c 2008-06-15 14:07:32.000000000 +0200 +@@ -17,10 +17,11 @@ + #include <sys/ioctl.h> + #include <sys/socket.h> + #include <poll.h> + #include <arpa/inet.h> + #include <unistd.h> ++#include <cstring> + + #include "common.h" + #include "config.h" + + #include "g15daemon.h" +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu126x64D-K610A4.c graphlcd-base-0.1.5/glcddrivers/gu126x64D-K610A4.c +--- graphlcd-base-0.1.5.orig/glcddrivers/gu126x64D-K610A4.c 2008-06-15 13:47:31.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/gu126x64D-K610A4.c 2008-06-15 14:08:52.000000000 +0200 +@@ -23,10 +23,12 @@ + + #include <errno.h> + #include <syslog.h> + #include <unistd.h> + #include <sys/time.h> ++#include <cstring> ++#include <cstdlib> + + #include "common.h" + #include "config.h" + #include "gu126x64D-K610A4.h" + #include "port.h" +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu140x32f.c graphlcd-base-0.1.5/glcddrivers/gu140x32f.c +--- graphlcd-base-0.1.5.orig/glcddrivers/gu140x32f.c 2008-06-15 14:01:53.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/gu140x32f.c 2008-06-15 14:02:15.000000000 +0200 +@@ -19,10 +19,11 @@ + + #include <errno.h> + #include <syslog.h> + #include <unistd.h> + #include <sys/time.h> ++#include <cstring> + + #include "common.h" + #include "config.h" + #include "gu140x32f.h" + #include "port.h" +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-372.c graphlcd-base-0.1.5/glcddrivers/gu256x64-372.c +--- graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-372.c 2008-06-15 14:01:54.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/gu256x64-372.c 2008-06-15 14:02:15.000000000 +0200 +@@ -21,10 +21,11 @@ + + #include <errno.h> + #include <syslog.h> + #include <unistd.h> + #include <sys/time.h> ++#include <cstring> + + #include "common.h" + #include "config.h" + #include "gu256x64-372.h" + #include "port.h" +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-3900.c graphlcd-base-0.1.5/glcddrivers/gu256x64-3900.c +--- graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-3900.c 2008-06-15 14:01:54.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/gu256x64-3900.c 2008-06-15 14:02:15.000000000 +0200 +@@ -27,10 +27,11 @@ + #include <fcntl.h> + #include <syslog.h> + #include <unistd.h> + #include <termios.h> + #include <sys/time.h> ++#include <cstring> + + #include "common.h" + #include "config.h" + #include "gu256x64-3900.h" + #include "port.h" +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/hd61830.c graphlcd-base-0.1.5/glcddrivers/hd61830.c +--- graphlcd-base-0.1.5.orig/glcddrivers/hd61830.c 2008-06-15 13:47:31.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/hd61830.c 2008-06-15 14:03:34.000000000 +0200 +@@ -9,10 +9,11 @@ + * (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online.de> + */ + + #include <syslog.h> + #include <sys/time.h> ++#include <cstring> + + #include "common.h" + #include "config.h" + #include "hd61830.h" + #include "port.h" +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/image.c graphlcd-base-0.1.5/glcddrivers/image.c +--- graphlcd-base-0.1.5.orig/glcddrivers/image.c 2008-06-15 13:47:31.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/image.c 2008-06-15 14:04:11.000000000 +0200 +@@ -10,10 +10,11 @@ + * (c) 2004 Andreas Regel <andreas.regel AT powarman.de> + */ + + #include <stdio.h> + #include <syslog.h> ++#include <cstring> + + #include "common.h" + #include "config.h" + #include "image.h" + +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/ks0108.c graphlcd-base-0.1.5/glcddrivers/ks0108.c +--- graphlcd-base-0.1.5.orig/glcddrivers/ks0108.c 2008-06-15 13:47:31.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/ks0108.c 2008-06-15 14:03:45.000000000 +0200 +@@ -9,10 +9,11 @@ + * (c) 2003 Andreas 'randy' Weinberger <vdr AT smue.org> + */ + + #include <syslog.h> + #include <sys/time.h> ++#include <cstring> + + #include "common.h" + #include "config.h" + #include "ks0108.h" + #include "port.h" +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/network.c graphlcd-base-0.1.5/glcddrivers/network.c +--- graphlcd-base-0.1.5.orig/glcddrivers/network.c 2008-06-15 13:47:31.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/network.c 2008-06-15 14:08:05.000000000 +0200 +@@ -16,10 +16,11 @@ + #include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> + #include <errno.h> ++#include <cstring> + + #include "common.h" + #include "config.h" + #include "network.h" + +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/noritake800.c graphlcd-base-0.1.5/glcddrivers/noritake800.c +--- graphlcd-base-0.1.5.orig/glcddrivers/noritake800.c 2008-06-15 13:47:31.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/noritake800.c 2008-06-15 14:07:04.000000000 +0200 +@@ -32,10 +32,11 @@ + + #include <errno.h> + #include <syslog.h> + #include <unistd.h> + #include <sys/time.h> ++#include <cstring> + + #include "common.h" + #include "config.h" + #include "noritake800.h" + #include "port.h" +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/sed1330.c graphlcd-base-0.1.5/glcddrivers/sed1330.c +--- graphlcd-base-0.1.5.orig/glcddrivers/sed1330.c 2008-06-15 13:47:31.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/sed1330.c 2008-06-15 14:05:55.000000000 +0200 +@@ -17,10 +17,12 @@ + * (c) 2003 Roland Praml <praml.roland AT t-online.de> + */ + + #include <syslog.h> + #include <sys/time.h> ++#include <cstring> ++#include <cstdlib> + + #include "common.h" + #include "config.h" + #include "port.h" + #include "sed1330.h" +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/sed1520.c graphlcd-base-0.1.5/glcddrivers/sed1520.c +--- graphlcd-base-0.1.5.orig/glcddrivers/sed1520.c 2008-06-15 13:47:31.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/sed1520.c 2008-06-15 14:05:31.000000000 +0200 +@@ -9,10 +9,11 @@ + * (c) 2003 Andreas 'randy' Weinberger <vdr AT smue.org> + */ + + #include <syslog.h> + #include <sys/time.h> ++#include <cstring> + + #include "common.h" + #include "config.h" + #include "port.h" + #include "sed1520.h" +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/simlcd.c graphlcd-base-0.1.5/glcddrivers/simlcd.c +--- graphlcd-base-0.1.5.orig/glcddrivers/simlcd.c 2008-06-15 14:01:55.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/simlcd.c 2008-06-15 14:02:15.000000000 +0200 +@@ -11,10 +11,11 @@ + * (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online.de> + */ + + #include <stdio.h> + #include <syslog.h> ++#include <cstring> + + #include "common.h" + #include "config.h" + #include "simlcd.h" + +diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/t6963c.c graphlcd-base-0.1.5/glcddrivers/t6963c.c +--- graphlcd-base-0.1.5.orig/glcddrivers/t6963c.c 2008-06-15 13:47:31.000000000 +0200 ++++ graphlcd-base-0.1.5/glcddrivers/t6963c.c 2008-06-15 14:06:33.000000000 +0200 +@@ -10,10 +10,12 @@ + * + * (c) 2003, 2004 Andreas Regel <andreas.regel AT powarman.de> + */ + + #include <syslog.h> ++#include <cstring> ++#include <cstdlib> + + #include "common.h" + #include "config.h" + #include "port.h" + #include "t6963c.h" +diff -NrU5 graphlcd-base-0.1.5.orig/glcdgraphics/glcd.c graphlcd-base-0.1.5/glcdgraphics/glcd.c +--- graphlcd-base-0.1.5.orig/glcdgraphics/glcd.c 2008-06-15 14:01:55.000000000 +0200 ++++ graphlcd-base-0.1.5/glcdgraphics/glcd.c 2008-06-15 14:02:15.000000000 +0200 +@@ -14,11 +14,11 @@ + + #include <stdio.h> + #include <stdint.h> + #include <syslog.h> + +-#include <string> ++#include <cstring> + + #include "bitmap.h" + #include "glcd.h" + #include "image.h" + +diff -NrU5 graphlcd-base-0.1.5.orig/glcdgraphics/pbm.c graphlcd-base-0.1.5/glcdgraphics/pbm.c +--- graphlcd-base-0.1.5.orig/glcdgraphics/pbm.c 2008-06-15 14:01:55.000000000 +0200 ++++ graphlcd-base-0.1.5/glcdgraphics/pbm.c 2008-06-15 14:02:15.000000000 +0200 +@@ -10,12 +10,13 @@ + */ + + #include <stdio.h> + #include <stdint.h> + #include <syslog.h> ++#include <cstdlib> + +-#include <string> ++#include <cstring> + + #include "bitmap.h" + #include "pbm.h" + #include "image.h" + +diff -NrU5 graphlcd-base-0.1.5.orig/tools/convpic/bmp.c graphlcd-base-0.1.5/tools/convpic/bmp.c +--- graphlcd-base-0.1.5.orig/tools/convpic/bmp.c 2008-06-15 13:47:31.000000000 +0200 ++++ graphlcd-base-0.1.5/tools/convpic/bmp.c 2008-06-15 14:09:57.000000000 +0200 +@@ -27,12 +27,12 @@ + ***************************************************************************/ + + #include <stdio.h> + #include <stdint.h> + #include <string.h> +- +-#include <string> ++#include <cstring> ++#include <cstdlib> + + #include <glcdgraphics/bitmap.h> + #include <glcdgraphics/image.h> + + #include "bmp.h" diff --git a/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild b/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild index 9795215b92f2..8b462c4111d3 100644 --- a/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild +++ b/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild,v 1.5 2008/02/21 23:54:54 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild,v 1.6 2008/07/27 11:16:14 loki_val Exp $ inherit eutils flag-o-matic multilib @@ -27,6 +27,7 @@ src_unpack() { sed -i Make.config -e "s:usr\/local:usr:" -e "s:FLAGS *=:FLAGS ?=:" epatch "${FILESDIR}/${P}-nostrip.patch" + epatch "${FILESDIR}/${P}-gcc43.patch" use !truetype && sed -i "s:HAVE_FREETYPE2:#HAVE_FREETYPE2:" Make.config |