summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2008-04-23 07:24:50 +0000
committerDenis Dupeyron <calchan@gentoo.org>2008-04-23 07:24:50 +0000
commit26cf68bb18f112919b4cfa4c8b00bc039bbb1eff (patch)
treefb184341d625d2c6fdb7a25e8498833827fb4d57 /dev-embedded/picprog
parentversion bump (bug #218922) (diff)
downloadhistorical-26cf68bb18f112919b4cfa4c8b00bc039bbb1eff.tar.gz
historical-26cf68bb18f112919b4cfa4c8b00bc039bbb1eff.tar.bz2
historical-26cf68bb18f112919b4cfa4c8b00bc039bbb1eff.zip
Fixed compiling with gcc-4.3, thanks to Peter Alfredsen (bug #218946).
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'dev-embedded/picprog')
-rw-r--r--dev-embedded/picprog/ChangeLog7
-rw-r--r--dev-embedded/picprog/Manifest4
-rw-r--r--dev-embedded/picprog/picprog-1.8.3.ebuild13
3 files changed, 18 insertions, 6 deletions
diff --git a/dev-embedded/picprog/ChangeLog b/dev-embedded/picprog/ChangeLog
index 02a5a4d9135d..ae71d7558b4f 100644
--- a/dev-embedded/picprog/ChangeLog
+++ b/dev-embedded/picprog/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-embedded/picprog
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/picprog/ChangeLog,v 1.16 2007/03/27 20:41:31 calchan Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/picprog/ChangeLog,v 1.17 2008/04/23 07:24:50 calchan Exp $
+
+ 23 Apr 2008; Denis Dupeyron <calchan@gentoo.org> picprog-1.8.3.ebuild:
+ Fixed compiling with gcc-4.3, thanks to Peter Alfredsen (bug #218946).
*picprog-1.8.3 (27 Mar 2007)
diff --git a/dev-embedded/picprog/Manifest b/dev-embedded/picprog/Manifest
index 21aafe7d2942..b4050e72bc14 100644
--- a/dev-embedded/picprog/Manifest
+++ b/dev-embedded/picprog/Manifest
@@ -6,6 +6,6 @@ DIST picprog-1.8.3.tar.gz 58506 RMD160 c48e4a658475bd55f42821e54b637e0b598f0b48
EBUILD picprog-1.7-r1.ebuild 879 RMD160 199eaa0afb4966dceda11b925977a80885cd1505 SHA1 c2957625afbbfca263751383fdfc16a03f7bc05f SHA256 4bbea89795cf0cd30665a84620718bc3aa2bb8bcabe2900112c2cbd449765b00
EBUILD picprog-1.7.ebuild 724 RMD160 b7cd80c68862a958ce33db294c9286eab44176a4 SHA1 d3aba29d84329161688573a0ee4e047bc0a8d597 SHA256 921b1a1691a35db39b8250eec9dcf9995d3647ed0bfeddd4398e97fe1b02b604
EBUILD picprog-1.8.1.ebuild 892 RMD160 ef64de080625c85bfc4db42a3649260e1c20d8ee SHA1 acbd8707e7a1dcc1b253ce61b23041234ebfd8a6 SHA256 b98b9cbedcae3af514eb23d94ee78a77c965d2283e2a3fbe4e1a73a2591bf4ce
-EBUILD picprog-1.8.3.ebuild 718 RMD160 f8d7aea69fc5b9a35587aea21e05b052373c8d65 SHA1 6a78ac07415c968464d9c81324bc761c9dedfa74 SHA256 3d0bd6195e91c927b9241e4bef95b8222e30d989fb7ca952afe255b7178a9c49
-MISC ChangeLog 2368 RMD160 2536878170a7f2bc3e8c1504e5ce1db1e9bbf750 SHA1 309e134c1a75dcc3900a62a159489a0e5120946b SHA256 86e7982a7db1b4fa56ec8e00acc8d2f32c0d451084ff29d3c3488be16414438e
+EBUILD picprog-1.8.3.ebuild 875 RMD160 181a8fcaa72a5ec53d7a10f24edcfb3fc70392e8 SHA1 5f638d90911acdf5fe655f33ace534fb0048a8c9 SHA256 1a47ec478fc479bbd067a7f678296b24cccb42332510bb10787fa71a61e96219
+MISC ChangeLog 2515 RMD160 b5f3e0675fc3f266cbd65f37d4746a38d783f308 SHA1 2311b9eb19308ad7e75586bb80126313a5ae6465 SHA256 d74831eb1942c4d2b42c9bd68432c0bdbc6b2ca431a3b422f6c9038d239cfe98
MISC metadata.xml 289 RMD160 bf9fb1258fcfd3fddf106bf96af9611f77925637 SHA1 52c7fbd10e489e879efb3e527eab5fc2f8e3f89c SHA256 b668d618f089ff8dd246ca3707d9d326a299669e330c550c75b834512255390d
diff --git a/dev-embedded/picprog/picprog-1.8.3.ebuild b/dev-embedded/picprog/picprog-1.8.3.ebuild
index 4ce62c5c3ca7..563c854386d8 100644
--- a/dev-embedded/picprog/picprog-1.8.3.ebuild
+++ b/dev-embedded/picprog/picprog-1.8.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/picprog/picprog-1.8.3.ebuild,v 1.1 2007/03/27 20:41:31 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/picprog/picprog-1.8.3.ebuild,v 1.2 2008/04/23 07:24:50 calchan Exp $
DESCRIPTION="A PIC16, PIC18 and dsPIC microcontroller programmer software for the serial port."
HOMEPAGE="http://www.iki.fi/hyvatti/pic/picprog.html"
@@ -12,6 +12,15 @@ KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=""
+src_unpack() {
+ unpack ${A}
+ sed -i \
+ -e 's/<string>/<string.h>/' \
+ -e '/<iostream>/ i\
+#include <cstdlib>' \
+ "${S}"/program.cc || die "sed failed"
+}
+
src_compile() {
emake CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" || die "Compilation failed"
}