summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-29 09:39:06 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-29 09:39:06 +0000
commit7595fcce1bc1e1ccaeca5f430dc2505b6560860f (patch)
tree2e298b97525c1768309ddd883343c6238c4acb63 /media-libs/paragui
parentAdded missing expat dependency (diff)
downloadhistorical-7595fcce1bc1e1ccaeca5f430dc2505b6560860f.tar.gz
historical-7595fcce1bc1e1ccaeca5f430dc2505b6560860f.tar.bz2
historical-7595fcce1bc1e1ccaeca5f430dc2505b6560860f.zip
Fix for gcc-4.3, bug #229961. Thanks to Petr Behan <petr.behan@seznam.cz>.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25.8 i686
Diffstat (limited to 'media-libs/paragui')
-rw-r--r--media-libs/paragui/ChangeLog6
-rw-r--r--media-libs/paragui/Manifest5
-rw-r--r--media-libs/paragui/files/paragui-1.1.8-gcc43.patch27
-rw-r--r--media-libs/paragui/paragui-1.1.8.ebuild6
4 files changed, 39 insertions, 5 deletions
diff --git a/media-libs/paragui/ChangeLog b/media-libs/paragui/ChangeLog
index ccf1ff79f55c..6e181f08c66a 100644
--- a/media-libs/paragui/ChangeLog
+++ b/media-libs/paragui/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/paragui
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/paragui/ChangeLog,v 1.29 2008/01/15 08:42:13 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/paragui/ChangeLog,v 1.30 2008/06/29 09:39:05 loki_val Exp $
+
+ 29 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/paragui-1.1.8-gcc43.patch, paragui-1.1.8.ebuild:
+ Fix for gcc-4.3, bug #229961. Thanks to Petr Behan <petr.behan@seznam.cz>.
15 Jan 2008; Tristan Heaven <nyhm@gentoo.org>
files/paragui-1.1.8-asneeded.patch, paragui-1.1.8.ebuild:
diff --git a/media-libs/paragui/Manifest b/media-libs/paragui/Manifest
index 9a907af5357b..722a5f74266d 100644
--- a/media-libs/paragui/Manifest
+++ b/media-libs/paragui/Manifest
@@ -1,10 +1,11 @@
AUX paragui-1.1.8-asneeded.patch 1137 RMD160 291c3ea223fc11a3b6eef92bd1189767042819d6 SHA1 dcb99b86777d4dc05155cdf0228675a3d7e7761c SHA256 82b74dbec2b95a5a6eece5f72f40d4418ab4a8d823dac24ea709667fb65d96da
+AUX paragui-1.1.8-gcc43.patch 752 RMD160 93bee9a1c3d4bca2fae16d9604c0b4170b1628a6 SHA1 caa2c2e98e919cda1d742c3443c7fa80f781e593 SHA256 77f36c50fbe15f7980fd5463556de474f1d04446e0261f7db2c890f59d9b98ce
AUX paragui-1.1.8-header.patch 297 RMD160 4a940c2952d993f736efdeb302d7f5433587e454 SHA1 a41213175c3be7f910369a48434870a3374763ca SHA256 258f0e3869b5bbaf8f3ed7f0c74e44521dd41217ab5c399c5c0e1bd3c17f6379
DIST paragui-1.0.4.tar.gz 1089511 RMD160 c6352dfe99344bf2dc604784ac8ef0a80dbcb5ad SHA1 3e412618b77499bf08a3eb478fec38f0a35ce86f SHA256 b67d9b6f2fd11b8b117566c8c0c8d99f948b1db4e2399a9d407f14085bebb49c
DIST paragui-1.1.7.tar.gz 1821914 RMD160 f20a3a78e92add0eb5bbe04aae4491784f57d7f0 SHA1 82c1f19c7f9d4ab07683a9eb29353e5846b93da5 SHA256 bb853f17d52cf2152c1f228f979375247d85adc938878d87ad02df3b86eef09b
DIST paragui-1.1.8.tar.gz 1867075 RMD160 3cd7b16abe0ad5afe2cbec1a7d3fc9a9fe12610d SHA1 ebc0072c927c6edcbc30eb29a8af4f678a2568f6 SHA256 5a6663d3be6819bce8a8ca0bf8a0d33c7508e28d8e9f220649cef19e9d5260c3
EBUILD paragui-1.0.4.ebuild 786 RMD160 44465f7c245b28b88c9b18827d70c842658124a2 SHA1 7048fe2e808da87500bad234364d619d4016ecd9 SHA256 4adbcd4862bca4d628cf3c2ba034fa8c856469fe108b356453376a6a008e5730
EBUILD paragui-1.1.7.ebuild 917 RMD160 45f2901fbabb89e9bba6f4390bafd936b005cf4c SHA1 895eaf0f507d3dabe58b4519e8f09e0461762f67 SHA256 30ebd43e61dea3e0c576a2dcc8cc371d889773cdd7517ac5cdfb18812cf87bdc
-EBUILD paragui-1.1.8.ebuild 1013 RMD160 2ef04f42998027177b95ecc4f4f50c2d526c7b1c SHA1 16df611adaa0c6ef624723940ec5dda46ce048a0 SHA256 703208f69e6c529191e684457a14ff58d36a42280dca0694b35704b2a0af9f64
-MISC ChangeLog 4041 RMD160 0fe7750a002f18e4cd93d5cab69254fce71a1877 SHA1 0c201f3bd1b485fa417c90f8e7f07629a0f94079 SHA256 9a3916ee04ee64f0aa686f615028b40a62862170e6b20c4308fddf5a4a580699
+EBUILD paragui-1.1.8.ebuild 1053 RMD160 80048de34b06ec6f0a6481f3f8d4f6b157ee7c06 SHA1 d03defbf7dccb2d2780971d4b912302878ed5a71 SHA256 57ad1dcc459fbc02523b88c8b5b72cf5bef6960054d806b784669cee23632e06
+MISC ChangeLog 4234 RMD160 4352df669ab49bf51e94ea89e23f27054f174f8c SHA1 da6d0400bbca16ce63d3df76eb89667d5a0f846f SHA256 db70eadd95ad1dd9e3ef6e4d0eb74759a08552ff7f80ac65fe1b7a32a3c68549
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/media-libs/paragui/files/paragui-1.1.8-gcc43.patch b/media-libs/paragui/files/paragui-1.1.8-gcc43.patch
new file mode 100644
index 000000000000..d47e2e5d956b
--- /dev/null
+++ b/media-libs/paragui/files/paragui-1.1.8-gcc43.patch
@@ -0,0 +1,27 @@
+--- include/paragui.h.old 2004-04-17 22:39:07.000000000 +0200
++++ include/paragui.h 2008-06-29 00:58:45.000000000 +0200
+@@ -65,6 +65,13 @@
+ #include "paraconfig_gnu.h"
+ #endif
+
++#if PG_VERSIONNUM(__GNUC__, __GNUC_MINOR__, 0) >= PG_VERSIONNUM(4, 3, 0)
++#undef HAVE_HASH_MAP
++#ifndef HAVE_EXT_HASH_MAP
++#define HAVE_EXT_HASH_MAP
++#endif
++#endif
++
+ //
+ // STL map / hash_map
+ //
+--- src/core/pgfilearchive.cpp.old 2004-03-13 14:45:44.000000000 +0100
++++ src/core/pgfilearchive.cpp 2008-06-29 00:59:27.000000000 +0200
+@@ -100,7 +101,7 @@
+ const char* sep = GetDirSeparator();
+ std::string::size_type pos = 0, incr;
+ newpath = new std::string(path);
+- incr = std::strlen(sep);
++ incr = strlen(sep);
+ if(incr == 1 && sep[0] == '/')
+ return newpath;
+
diff --git a/media-libs/paragui/paragui-1.1.8.ebuild b/media-libs/paragui/paragui-1.1.8.ebuild
index d70f43c718bc..76487272af05 100644
--- a/media-libs/paragui/paragui-1.1.8.ebuild
+++ b/media-libs/paragui/paragui-1.1.8.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/media-libs/paragui/paragui-1.1.8.ebuild,v 1.10 2008/01/15 08:42:13 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/paragui/paragui-1.1.8.ebuild,v 1.11 2008/06/29 09:39:05 loki_val Exp $
inherit autotools eutils
@@ -30,7 +30,9 @@ src_unpack() {
cd "${S}"
epatch \
"${FILESDIR}"/${P}-header.patch \
- "${FILESDIR}"/${P}-asneeded.patch
+ "${FILESDIR}"/${P}-asneeded.patch \
+ "${FILESDIR}"/${P}-gcc43.patch
+
eautoreconf
}