diff options
author | David Shakaryan <omp@gentoo.org> | 2006-10-31 05:42:58 +0000 |
---|---|---|
committer | David Shakaryan <omp@gentoo.org> | 2006-10-31 05:42:58 +0000 |
commit | 88ff63d6e8c411321d7372729bce1cd36f3fb39b (patch) | |
tree | ddef96742ade53df18d937a15c19806d1240e577 /x11-misc/fbpager | |
parent | Fixing automake version, bug #153437 (diff) | |
download | historical-88ff63d6e8c411321d7372729bce1cd36f3fb39b.tar.gz historical-88ff63d6e8c411321d7372729bce1cd36f3fb39b.tar.bz2 historical-88ff63d6e8c411321d7372729bce1cd36f3fb39b.zip |
Add patch for GCC 4.1 compatibility, thanks to Ryan Hill. (bug #135504)
Package-Manager: portage-2.1.2_rc1-r1
Diffstat (limited to 'x11-misc/fbpager')
-rw-r--r-- | x11-misc/fbpager/ChangeLog | 6 | ||||
-rw-r--r-- | x11-misc/fbpager/Manifest | 36 | ||||
-rw-r--r-- | x11-misc/fbpager/fbpager-0.1.4.ebuild | 21 | ||||
-rw-r--r-- | x11-misc/fbpager/files/digest-fbpager-0.1.4 | 2 | ||||
-rw-r--r-- | x11-misc/fbpager/files/fbpager-0.1.4-gcc41.patch | 76 |
5 files changed, 125 insertions, 16 deletions
diff --git a/x11-misc/fbpager/ChangeLog b/x11-misc/fbpager/ChangeLog index 80eb2088935a..984420ead141 100644 --- a/x11-misc/fbpager/ChangeLog +++ b/x11-misc/fbpager/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/fbpager # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/fbpager/ChangeLog,v 1.6 2006/01/30 19:46:28 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/fbpager/ChangeLog,v 1.7 2006/10/31 05:42:58 omp Exp $ + + 31 Oct 2006; David Shakaryan <omp@gentoo.org> + +files/fbpager-0.1.4-gcc41.patch, fbpager-0.1.4.ebuild: + Add patch for GCC 4.1 compatibility, thanks to Ryan Hill. (bug #135504) 30 Jan 2006; Robin H. Johnson <robbat2@gentoo.org> fbpager-0.1.4.ebuild: Modular-X fixes. diff --git a/x11-misc/fbpager/Manifest b/x11-misc/fbpager/Manifest index 398caeec1aab..f555f99d1a78 100644 --- a/x11-misc/fbpager/Manifest +++ b/x11-misc/fbpager/Manifest @@ -1,12 +1,30 @@ -MD5 fd3420c4d4803d591f7e217099e7a970 ChangeLog 751 -RMD160 49343be05dfa542e8798617e7cd4f0d0ff3d7e0e ChangeLog 751 -SHA256 12089793b35dbfc8b17b8a2e788bc1d05ba9ee9a99bd36b3eadbd98471f31454 ChangeLog 751 -MD5 2d8697d818922e7f40312b75bc770990 fbpager-0.1.4.ebuild 689 -RMD160 3d5d94b1c9777a0ff7a0710369ce9d82c6cd3b6d fbpager-0.1.4.ebuild 689 -SHA256 938c10e25b370e1dd4a2e0c7c1b99780a0877f3ca64b9ea739038967b82b9dda fbpager-0.1.4.ebuild 689 -MD5 ba5857f3b3d05a7ebb5461aa770f7e52 files/digest-fbpager-0.1.4 65 -RMD160 18dd1e84266af7b9dfd4061017bddc0eac67876b files/digest-fbpager-0.1.4 65 -SHA256 2425e4ed11cf07d79278caa754f93c63a698dd27477eacbe6c8a75615bd49851 files/digest-fbpager-0.1.4 65 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX fbpager-0.1.4-gcc41.patch 1919 RMD160 b2173c6fa700e81618b103d40d25ecce2bc052c6 SHA1 1381b69eb9ff21790d2aec4432b81ef0ccf0d064 SHA256 d42a024079c2ed9d7e73d8945fade964e2557c0e55596ba7570d4fdd9e95f2f4 +MD5 9b0be20a15e8016a8fd5159f37ac38fc files/fbpager-0.1.4-gcc41.patch 1919 +RMD160 b2173c6fa700e81618b103d40d25ecce2bc052c6 files/fbpager-0.1.4-gcc41.patch 1919 +SHA256 d42a024079c2ed9d7e73d8945fade964e2557c0e55596ba7570d4fdd9e95f2f4 files/fbpager-0.1.4-gcc41.patch 1919 +DIST fbpager-0.1.4.tar.gz 349045 RMD160 326ad3f1800f0a45cccbc7e821f45d40263d3c08 SHA1 73415dd7911f24e338b2b1bfc43f4aeb53daa5b2 SHA256 1aab313d18a938d0bb8f150b4ac3ab1e965f7d21618336e0f5b07c6de999669f +EBUILD fbpager-0.1.4.ebuild 770 RMD160 dee1fcc3f53ac8b1a24173cceaeef7222db892eb SHA1 ae12621753aed147681aaba07b73f795d96dcf9f SHA256 5e649d38dfff5255c70b2987b41ec4ed45c7392db6b5c8dee2d886f0e484efc4 +MD5 d1c59511252ddb10ce7572a44a78eb0f fbpager-0.1.4.ebuild 770 +RMD160 dee1fcc3f53ac8b1a24173cceaeef7222db892eb fbpager-0.1.4.ebuild 770 +SHA256 5e649d38dfff5255c70b2987b41ec4ed45c7392db6b5c8dee2d886f0e484efc4 fbpager-0.1.4.ebuild 770 +MISC ChangeLog 928 RMD160 ba97b42a0bd25d02962ab3899be48f86a8075f5f SHA1 1286d0c000947d5a50e51b5ed1f734e975fb43e7 SHA256 0f3e00d9debdcdd6463689464bd22386f980e4a35259db773faa945821842c35 +MD5 9a78d53287394fa293293ec17437374e ChangeLog 928 +RMD160 ba97b42a0bd25d02962ab3899be48f86a8075f5f ChangeLog 928 +SHA256 0f3e00d9debdcdd6463689464bd22386f980e4a35259db773faa945821842c35 ChangeLog 928 +MISC metadata.xml 163 RMD160 f3a3f66a62012d6c9635ae33abfe28f549471c0a SHA1 923ee2f9b457e2110de082bbe17302c70c81a1f2 SHA256 058ba1219e0871827744b5cde326ae73cc7d326079e21e492b84333190ff1b6a MD5 579076f73457df8c5cba170b0e99634d metadata.xml 163 RMD160 f3a3f66a62012d6c9635ae33abfe28f549471c0a metadata.xml 163 SHA256 058ba1219e0871827744b5cde326ae73cc7d326079e21e492b84333190ff1b6a metadata.xml 163 +MD5 e91f5204048db278efdd3f86eee06f7d files/digest-fbpager-0.1.4 241 +RMD160 125681c34d130ba4a8823095a9b388f49393117a files/digest-fbpager-0.1.4 241 +SHA256 6442cfb72c5f388cdb542bc7437a28a4afc724f048701e627758f53a601424cb files/digest-fbpager-0.1.4 241 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFRuJsvSApE0uP4UsRAixmAJwKmjKOtul4ZNHuFcJ2l3x8e74ZMwCdHkBI +4/DGBYeIHtKy+SEg9U1uWoo= +=HIfs +-----END PGP SIGNATURE----- diff --git a/x11-misc/fbpager/fbpager-0.1.4.ebuild b/x11-misc/fbpager/fbpager-0.1.4.ebuild index ad67310c5afc..225a0db1e4a1 100644 --- a/x11-misc/fbpager/fbpager-0.1.4.ebuild +++ b/x11-misc/fbpager/fbpager-0.1.4.ebuild @@ -1,21 +1,31 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/fbpager/fbpager-0.1.4.ebuild,v 1.8 2006/01/30 19:46:28 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/fbpager/fbpager-0.1.4.ebuild,v 1.9 2006/10/31 05:42:58 omp Exp $ + +inherit eutils DESCRIPTION="A Pager for fluxbox" HOMEPAGE="http://fluxbox.sourceforge.net/fbpager" SRC_URI="http://fluxbox.org/download/${P}.tar.gz" -LICENSE="MIT" +LICENSE="MIT" SLOT="0" KEYWORDS="x86 ~sparc ~mips ~amd64 ppc" IUSE="" -RDEPEND="|| ( ( x11-libs/libXrender x11-libs/libSM ) virtual/x11 )" + +RDEPEND="x11-libs/libXrender + x11-libs/libSM" DEPEND="${RDEPEND}" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-gcc41.patch" +} + src_install() { - einstall || die - dodoc AUTHORS COPYING NEWS README TODO + einstall || die "einstall failed" + dodoc AUTHORS NEWS README TODO } pkg_postinst() { @@ -23,4 +33,3 @@ pkg_postinst() { einfo "To run fbpager inside the FluxBox slit, use fbpager -w" einfo } - diff --git a/x11-misc/fbpager/files/digest-fbpager-0.1.4 b/x11-misc/fbpager/files/digest-fbpager-0.1.4 index a9c1d7d9ebdd..890372e0f980 100644 --- a/x11-misc/fbpager/files/digest-fbpager-0.1.4 +++ b/x11-misc/fbpager/files/digest-fbpager-0.1.4 @@ -1 +1,3 @@ MD5 89aac82e217ef366634dfd768b1b5dff fbpager-0.1.4.tar.gz 349045 +RMD160 326ad3f1800f0a45cccbc7e821f45d40263d3c08 fbpager-0.1.4.tar.gz 349045 +SHA256 1aab313d18a938d0bb8f150b4ac3ab1e965f7d21618336e0f5b07c6de999669f fbpager-0.1.4.tar.gz 349045 diff --git a/x11-misc/fbpager/files/fbpager-0.1.4-gcc41.patch b/x11-misc/fbpager/files/fbpager-0.1.4-gcc41.patch new file mode 100644 index 000000000000..8f085d5a9724 --- /dev/null +++ b/x11-misc/fbpager/files/fbpager-0.1.4-gcc41.patch @@ -0,0 +1,76 @@ +--- fbpager-0.1.4.orig/src/Resources.hh ++++ fbpager-0.1.4/src/Resources.hh +@@ -8,8 +8,10 @@ + #include <cstdio> + #include <cstring> + ++namespace FbTk { ++ + template<> +-void FbTk::Resource<bool>:: ++void Resource<bool>:: + setFromString(char const *strval) { + if (strcasecmp(strval, "true") == 0 || + strcasecmp(strval, "yes") == 0) +@@ -19,38 +21,37 @@ + } + + template<> +-std::string FbTk::Resource<bool>:: ++std::string Resource<bool>:: + getString() { + return std::string(**this == true ? "true" : "false"); + } + + template <> +-void FbTk::Resource<std::string>::setFromString(const char *str) { ++void Resource<std::string>::setFromString(const char *str) { + *(*this) = (str ? str : ""); + } + + template <> +-std::string FbTk::Resource<std::string>::getString() { ++std::string Resource<std::string>::getString() { + return *(*this); + } + + template <> +-void FbTk::Resource<int>::setFromString(const char *str) { ++void Resource<int>::setFromString(const char *str) { + if (str == 0) + return; + sscanf(str, "%d", &(*(*this))); + } + + template <> +-std::string FbTk::Resource<int>::getString() { ++std::string Resource<int>::getString() { + char buff[16]; + sprintf(buff, "%d", (*(*this))); + return std::string(buff); + } + +-namespace FbPager { + template <> +-void FbTk::Resource<FbPager::Alignment>::setFromString(const char *str) { ++void Resource<FbPager::FbPager::Alignment>::setFromString(const char *str) { + if (strcmp("TopToBottom", str) == 0) + *(*this) = FbPager::FbPager::TOP_TO_BOTTOM; + else +@@ -58,7 +59,7 @@ + } + + template <> +-std::string FbTk::Resource<FbPager::Alignment>::getString() { ++std::string Resource<FbPager::FbPager::Alignment>::getString() { + switch (*(*this)) { + case FbPager::FbPager::LEFT_TO_RIGHT: + return "LeftToRight"; +@@ -67,6 +68,6 @@ + } + } + +-} // end namespace FbPager ++} // end namespace FbTk + + #endif // RESOURCES |