Fix stack overflow, bug 154573
authorStefan Schweizer <genstef@gentoo.org>
Sat, 18 Nov 2006 10:21:50 +0000 (10:21 +0000)
committerStefan Schweizer <genstef@gentoo.org>
Sat, 18 Nov 2006 10:21:50 +0000 (10:21 +0000)
Package-Manager: portage-2.1.2_rc2

app-text/gv/ChangeLog
app-text/gv/Manifest
app-text/gv/files/digest-gv-3.6.2-r1 [new file with mode: 0644]
app-text/gv/gv-3.6.2-r1.ebuild [new file with mode: 0644]

index 09bf88244f631d38f887526515708617f5bbb100..0fae3ddbb2361d86c3139a86fe543c5ec8743952 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-text/gv
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gv/ChangeLog,v 1.53 2006/10/17 20:17:55 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gv/ChangeLog,v 1.54 2006/11/18 10:21:50 genstef Exp $
+
+*gv-3.6.2-r1 (18 Nov 2006)
+
+  18 Nov 2006; Stefan Schweizer <genstef@gentoo.org> +gv-3.6.2-r1.ebuild:
+  Fix stack overflow, bug 154573
 
 *gv-3.6.2 (17 Oct 2006)
 
index 7f676a9f7aad5c5ed40b300725fab829152e8218..e01eda181d8ea98bcd2255a9f2c892fae16e26ad 100644 (file)
@@ -22,6 +22,7 @@ DIST gv-3.6.1.tar.gz 453921 RMD160 d783a15f581eb32efc65981b693db44aed193de2 SHA1
 DIST gv-3.6.2.tar.gz 446040 RMD160 6479102493e3ebf5b2602a577c02a8b573a73cab SHA1 9753904c7c7c3c89b98c8e949a1579bfbd3b6af5 SHA256 778e79832dd374238a916d8f202f405775de38422477bd6c60bb1aa7845c82f9
 DIST gv_3.6.1-13.diff.gz 13880 RMD160 bd9e00f4248274e0eeab42e48e52f206eaf95163 SHA1 1a002f1c3b864dc47188ded158bb2f0b08c56bce SHA256 769ceed1e519c796c37080214d6dc1f8900689e54e24adf4145462072e1f56d5
 DIST gv_3.6.2-1.diff.gz 11949 RMD160 37a0d45c06902b8c6e1defd55a6c3ccdbae522ba SHA1 db6506d2a06801f6c933306ffc6b03102eb66541 SHA256 1fd90b694f7ef0b5d465a4849fa2c12de09b97b8766165b61a60653eada6ec9b
+DIST gv_3.6.2-2.diff.gz 12425 RMD160 9289e3caab482de08f51c27cc4e535a9d667308f SHA1 72f31aee561630e40e83b0348145c54890c47d11 SHA256 14a08f3b7fae1e70eac706b8dddeec91fc8f6603aee8f68b1a7f7f7eeb37eecf
 EBUILD gv-3.6.1-r3.ebuild 1274 RMD160 584e10008b59e5977b794a4eaf1f01379bfae479 SHA1 2bbfe8e4b0af7185ed299dc9545cb1dd5d51987a SHA256 3fd252ba71b66f4dd16d39c28bbaf5fa59c9d017281a53ab853566f2b2b1b7e4
 MD5 eaa84956999bff4529a2ee7e6708ca5b gv-3.6.1-r3.ebuild 1274
 RMD160 584e10008b59e5977b794a4eaf1f01379bfae479 gv-3.6.1-r3.ebuild 1274
@@ -30,14 +31,18 @@ EBUILD gv-3.6.1-r5.ebuild 1480 RMD160 08be6e492b921c0be411ee59d8ad083408ebde02 S
 MD5 2bd061da9f3ac1c8af9dd9baf828b285 gv-3.6.1-r5.ebuild 1480
 RMD160 08be6e492b921c0be411ee59d8ad083408ebde02 gv-3.6.1-r5.ebuild 1480
 SHA256 3a3250124c2fab8afb7939405ecf5e1f931bdf823a354dd26a7407dc169411a8 gv-3.6.1-r5.ebuild 1480
+EBUILD gv-3.6.2-r1.ebuild 1493 RMD160 414f65d1c2a7d8edc0c57b82a15dde0f6c05e34e SHA1 9ae9bbfcd00e6da58b537a3d040341df7c3f3f8b SHA256 611a77822c61bb9713ca1ae6b67bc62fe34f4052d4b20b895a2e39bfe079f977
+MD5 95d187c4b3636c4cea8dc244d0fe273a gv-3.6.2-r1.ebuild 1493
+RMD160 414f65d1c2a7d8edc0c57b82a15dde0f6c05e34e gv-3.6.2-r1.ebuild 1493
+SHA256 611a77822c61bb9713ca1ae6b67bc62fe34f4052d4b20b895a2e39bfe079f977 gv-3.6.2-r1.ebuild 1493
 EBUILD gv-3.6.2.ebuild 1490 RMD160 338e3bf453a97f950d378bf9a5a50e723b4d5fde SHA1 494b1a41ae0c6a2c33303eebe38e1e983357e52b SHA256 1082a08ecea66b1b472f9d5f6103d85ecdfc9e2884be8bad03f366e26d9b2c0d
 MD5 20e17c09b796fa0cb67f5f24756d213a gv-3.6.2.ebuild 1490
 RMD160 338e3bf453a97f950d378bf9a5a50e723b4d5fde gv-3.6.2.ebuild 1490
 SHA256 1082a08ecea66b1b472f9d5f6103d85ecdfc9e2884be8bad03f366e26d9b2c0d gv-3.6.2.ebuild 1490
-MISC ChangeLog 7188 RMD160 409dba3e73ad2b167acfad8d90dbf17b5e3cae7f SHA1 6a45eec664ea569d44d08e52fa23e759cf007dcc SHA256 fa0454076be96c7196cc175f4dccf3d5481ed34cf91e202f856e141fde4de0a7
-MD5 45c5f707fa9dba2c45d3e86af3a47038 ChangeLog 7188
-RMD160 409dba3e73ad2b167acfad8d90dbf17b5e3cae7f ChangeLog 7188
-SHA256 fa0454076be96c7196cc175f4dccf3d5481ed34cf91e202f856e141fde4de0a7 ChangeLog 7188
+MISC ChangeLog 7324 RMD160 72c76ccb1223b897148257d262430d98579f3f5a SHA1 bb6aa5d42cf2b77db2656991b736f57d3f264593 SHA256 e202e325f0da71cae94b2f549213192d323550c15ba1226d09f86fbaea959f09
+MD5 ae91eb648791c70b1a6819189f3b0827 ChangeLog 7324
+RMD160 72c76ccb1223b897148257d262430d98579f3f5a ChangeLog 7324
+SHA256 e202e325f0da71cae94b2f549213192d323550c15ba1226d09f86fbaea959f09 ChangeLog 7324
 MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76
 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 metadata.xml 161
@@ -51,3 +56,6 @@ SHA256 0f2e044da716931b46dfd338afb7d9ce427e07048413f0c52b9c025edb5e0989 files/di
 MD5 7f26633453f3bb0f49c2481c7064449d files/digest-gv-3.6.2 458
 RMD160 bc487115b62449d683c110332826013a0146c341 files/digest-gv-3.6.2 458
 SHA256 3fc621b4f6e34e9dc589fab80fb67c40018b8a7cdd19f75ace0ef93943b26c9e files/digest-gv-3.6.2 458
+MD5 fe207876f2cc95ccf4ab657ef9561235 files/digest-gv-3.6.2-r1 458
+RMD160 98b0d6efe686e5fd46a2313ca64a62beeb740ea0 files/digest-gv-3.6.2-r1 458
+SHA256 3fdf4811564809b1aefc068ac2d46a8b4d730e84516c1cc7e032518c3cb03fe3 files/digest-gv-3.6.2-r1 458
diff --git a/app-text/gv/files/digest-gv-3.6.2-r1 b/app-text/gv/files/digest-gv-3.6.2-r1
new file mode 100644 (file)
index 0000000..ac51275
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 dcdb2205cf0c61394419e015c7548df1 gv-3.6.2.tar.gz 446040
+RMD160 6479102493e3ebf5b2602a577c02a8b573a73cab gv-3.6.2.tar.gz 446040
+SHA256 778e79832dd374238a916d8f202f405775de38422477bd6c60bb1aa7845c82f9 gv-3.6.2.tar.gz 446040
+MD5 09d4dadd1e0cb6bd07dfc4764c781038 gv_3.6.2-2.diff.gz 12425
+RMD160 9289e3caab482de08f51c27cc4e535a9d667308f gv_3.6.2-2.diff.gz 12425
+SHA256 14a08f3b7fae1e70eac706b8dddeec91fc8f6603aee8f68b1a7f7f7eeb37eecf gv_3.6.2-2.diff.gz 12425
diff --git a/app-text/gv/gv-3.6.2-r1.ebuild b/app-text/gv/gv-3.6.2-r1.ebuild
new file mode 100644 (file)
index 0000000..f3be2f7
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/gv/gv-3.6.2-r1.ebuild,v 1.1 2006/11/18 10:21:50 genstef Exp $
+
+inherit eutils
+
+DESCRIPTION="gv is used to view PostScript and PDF documents using Ghostscript"
+HOMEPAGE="http://www.gnu.org/software/gv/"
+SRC_URI="ftp://ftp.gnu.org/gnu/gv/${P}.tar.gz
+       mirror://debian/pool/main/g/gv/gv_3.6.2-2.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="|| ( (
+                       x11-libs/libICE
+                       x11-libs/libSM
+                       x11-libs/libX11
+                       x11-libs/libXext
+                       x11-libs/libXmu
+                       x11-libs/libXpm
+                       x11-libs/libXt
+               ) virtual/x11
+       )
+       x11-libs/Xaw3d
+       virtual/ghostscript"
+
+DEPEND="${RDEPEND}
+       || (
+               x11-libs/libXt
+               virtual/x11
+       )"
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       epatch "${FILESDIR}"/gv-3.6.1-setenv.patch
+       epatch "${FILESDIR}"/gv-3.6.1-a0.patch
+       epatch "${FILESDIR}"/gv-3.6.1-fixedmedia.patch
+       epatch "${FILESDIR}"/gv-update.patch
+       epatch "${WORKDIR}"/gv_3.6.2-2.diff
+       epatch ${P}/debian/patches/{*-*,*_*}
+       # Make font render nicely even with gs-8, bug 135354
+       sed -i -e "s:-dGraphicsAlphaBits=2:\0 -dAlignToPixels=0:" \
+               src/{gv_{class,user,system}.ad,Makefile.{am,in}}
+}
+
+src_compile() {
+       econf --enable-scrollbar-code || die "econf failed"
+       emake || die "emake failed"
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die "make install failed"
+       dodoc AUTHORS ChangeLog INSTALL README TODO
+}