summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-08 21:36:38 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-08 21:36:38 +0000
commita8ad8eeb20df8d454dc9c6b50c94a7882c8edb89 (patch)
tree9eba4cc90d6e6e450477c01b7333e81baad76095 /media-gfx
parentDropped some untested keywords. (diff)
downloadhistorical-a8ad8eeb20df8d454dc9c6b50c94a7882c8edb89.tar.gz
historical-a8ad8eeb20df8d454dc9c6b50c94a7882c8edb89.tar.bz2
historical-a8ad8eeb20df8d454dc9c6b50c94a7882c8edb89.zip
Fix building with boost 1.37 wrt #261321, thanks to Christoph Gysin and bonsaikitten. Fix building with GCC 4.4.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/sfftobmp/ChangeLog11
-rw-r--r--media-gfx/sfftobmp/Manifest15
-rw-r--r--media-gfx/sfftobmp/files/sfftobmp-3.1.1-gcc44-and-boost-1_37.patch33
-rw-r--r--media-gfx/sfftobmp/sfftobmp-3.1.1.ebuild19
4 files changed, 51 insertions, 27 deletions
diff --git a/media-gfx/sfftobmp/ChangeLog b/media-gfx/sfftobmp/ChangeLog
index 166c24033300..fc23a2c22f62 100644
--- a/media-gfx/sfftobmp/ChangeLog
+++ b/media-gfx/sfftobmp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/sfftobmp
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sfftobmp/ChangeLog,v 1.13 2008/11/09 13:40:35 maekke Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sfftobmp/ChangeLog,v 1.14 2009/05/08 21:36:38 ssuominen Exp $
+
+ 08 May 2009; Samuli Suominen <ssuominen@gentoo.org> sfftobmp-3.1.1.ebuild,
+ +files/sfftobmp-3.1.1-gcc44-and-boost-1_37.patch:
+ Fix building with boost 1.37 wrt #261321, thanks to Christoph Gysin and
+ bonsaikitten. Fix building with GCC 4.4.
09 Nov 2008; Markus Meier <maekke@gentoo.org> -sfftobmp-3.0.ebuild:
old
@@ -13,7 +18,7 @@
*sfftobmp-3.1.1 (14 Apr 2008)
- 14 Apr 2008; Samuli Suominen <drac@gentoo.org>
+ 14 Apr 2008; Samuli Suominen <ssuominen@gentoo.org>
+files/sfftobmp-3.1.1-gcc43-and-cerrno.patch, +sfftobmp-3.1.1.ebuild:
Version bump with GCC 4.3 patch by Peter Alfredsen.
diff --git a/media-gfx/sfftobmp/Manifest b/media-gfx/sfftobmp/Manifest
index dafe24310521..cce76bcb52c3 100644
--- a/media-gfx/sfftobmp/Manifest
+++ b/media-gfx/sfftobmp/Manifest
@@ -1,15 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX sfftobmp-3.1.1-gcc43-and-cerrno.patch 1066 RMD160 fe71fe902d91d8c2278498461cc27aa095e70e03 SHA1 6e293299351045b12eba8062704284f156d16b6e SHA256 5adbfcdfd1e6ef6993e507af66c47c0d6a7fd95c2e97ce5c2d7cf74af960ada6
+AUX sfftobmp-3.1.1-gcc44-and-boost-1_37.patch 1351 RMD160 4f6607a9e5a7466b9b9314bbc5dbd5648100a759 SHA1 abea06e02b61cc2a00c37a7e8391aae081b3cb15 SHA256 cd0630bab67b6a02887f02b69013aa2fbb038e38fab6e2ec22dd5b1870f5acd4
DIST sfftobmp3_1_1.zip 121209 RMD160 0e3c35555e31dfd4064501a968c5342a95a23cd8 SHA1 0733b74f030606806e52a3740c8fd00bf6160374 SHA256 d43d135150f3494a0a6da4349f7c86750519c1cc6c6d6d5120e90ee7c33cf0da
-EBUILD sfftobmp-3.1.1.ebuild 892 RMD160 8a08c93e32e6eb3363fce34d63a6d77e57c13913 SHA1 89dc1dc1d75d00ece5c9118a732d353cfe5a23e3 SHA256 98e72a3265481d2b14c4c7803109916647e14eecd92eedf5ae9fbf1e49ee5901
-MISC ChangeLog 1762 RMD160 24c3079059ccc74751c22d66cb354a3ffebc7e9f SHA1 5b3fd6ec6dac010ac47ab53657dd96be982622f7 SHA256 455ff08f7d166509a7f2d0b6eb7e0cf3ffa191de9846a90df8fe177b1f4ca37d
+EBUILD sfftobmp-3.1.1.ebuild 842 RMD160 7a72c73ac1a7b7663340febbe71149ebe738dbb7 SHA1 d64613631c1c78acf7b672653c310228e3c52e81 SHA256 abfd2e89c03d878b4901bd054f492ed1ee13ede18722b65d57942c7b4ffbdd4e
+MISC ChangeLog 2017 RMD160 5b77a888987dff13e76cd37cb2c433b98e5e394d SHA1 1ae8e622297cdf6eb2c9010b43acbf21a71e00e6 SHA256 252a80fa18f3f623262e2e8b18ad0f257e1c0f3fe804e962747d59a206789fd8
MISC metadata.xml 217 RMD160 fc8abd1a39399171209f6667b45e402b41511cdd SHA1 fb8a8945b29236b08e3cc2e241814f3291c3f07d SHA256 83c1617923ee79ac92b6cf61b2008c01ac7ad13f7536237d41354443fa2aadef
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkkW6F4ACgkQkKaRLQcq0GLoDwCaA+DQOfBHccQg1jfgCW3t+Pj9
-gBkAoJx9qILyfWk8neYzsts/5Zu5TQjT
-=J+OJ
------END PGP SIGNATURE-----
diff --git a/media-gfx/sfftobmp/files/sfftobmp-3.1.1-gcc44-and-boost-1_37.patch b/media-gfx/sfftobmp/files/sfftobmp-3.1.1-gcc44-and-boost-1_37.patch
new file mode 100644
index 000000000000..3ba832afaed6
--- /dev/null
+++ b/media-gfx/sfftobmp/files/sfftobmp-3.1.1-gcc44-and-boost-1_37.patch
@@ -0,0 +1,33 @@
+Only in sfftobmp3_1_1: Makefile.am.orig
+Only in sfftobmp3_1_1: Makefile.am.rej
+diff -ur sfftobmp3_1_1.orig/src/cmdline.cpp sfftobmp3_1_1/src/cmdline.cpp
+--- sfftobmp3_1_1.orig/src/cmdline.cpp 2007-10-07 22:01:21.000000000 +0300
++++ sfftobmp3_1_1/src/cmdline.cpp 2009-05-09 00:33:06.000000000 +0300
+@@ -35,6 +35,7 @@
+
+ ---RCS-Info--------------------------------------------------*/
+
++#include <cstdio>
+ #include <vector>
+ #include <cassert>
+ #include <iostream>
+diff -ur sfftobmp3_1_1.orig/src/common.cpp sfftobmp3_1_1/src/common.cpp
+--- sfftobmp3_1_1.orig/src/common.cpp 2007-10-07 22:01:20.000000000 +0300
++++ sfftobmp3_1_1/src/common.cpp 2009-05-09 00:28:37.000000000 +0300
+@@ -49,6 +49,7 @@
+ #include <sys/utime.h>
+ #endif
+
++#include <cstdio>
+ #include <cassert>
+ #include <iostream>
+
+diff -ur sfftobmp3_1_1.orig/src/Makefile.am sfftobmp3_1_1/src/Makefile.am
+--- sfftobmp3_1_1.orig/src/Makefile.am 2006-10-24 23:14:19.000000000 +0300
++++ sfftobmp3_1_1/src/Makefile.am 2009-05-09 00:27:42.000000000 +0300
+@@ -3,4 +3,4 @@
+ INCLUDES = -I$(top_builddir) -I$(top_srcdir)
+ bin_PROGRAMS = sfftobmp
+ sfftobmp_SOURCES = my_getopt.c cmdline.cpp codes.cpp common.cpp decoder.cpp input.cpp main.cpp output.cpp
+-sfftobmp_LDADD = @TIFF_LIB@ @JPEG_LIB@ -lboost_filesystem
++sfftobmp_LDADD = @TIFF_LIB@ @JPEG_LIB@ -lboost_filesystem -lboost_system
diff --git a/media-gfx/sfftobmp/sfftobmp-3.1.1.ebuild b/media-gfx/sfftobmp/sfftobmp-3.1.1.ebuild
index 630385be6874..8aeaecec15ea 100644
--- a/media-gfx/sfftobmp/sfftobmp-3.1.1.ebuild
+++ b/media-gfx/sfftobmp/sfftobmp-3.1.1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sfftobmp/sfftobmp-3.1.1.ebuild,v 1.4 2008/11/09 13:31:07 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sfftobmp/sfftobmp-3.1.1.ebuild,v 1.5 2009/05/08 21:36:38 ssuominen Exp $
+EAPI=2
inherit autotools eutils
MY_P=${PN}${PV//./_}
@@ -23,19 +24,13 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-gcc43-and-cerrno.patch
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc43-and-cerrno.patch \
+ "${FILESDIR}"/${P}-gcc44-and-boost-1_37.patch
eautoreconf
}
-src_compile() {
- econf --disable-dependency-tracking
- emake || die "emake failed."
-}
-
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed."
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc doc/{changes,credits,readme}
}