summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2005-09-13 16:34:51 +0000
committerMark Loeser <halcy0n@gentoo.org>2005-09-13 16:34:51 +0000
commit5dfca8cabc6ad99bb09a535a1a69828f1ae16726 (patch)
treeadecb67a7f823e7dcd98f7b599829d286851976f /media-gfx/jpeg2ps
parentMark 20050502 stable on alpha (diff)
downloadhistorical-5dfca8cabc6ad99bb09a535a1a69828f1ae16726.tar.gz
historical-5dfca8cabc6ad99bb09a535a1a69828f1ae16726.tar.bz2
historical-5dfca8cabc6ad99bb09a535a1a69828f1ae16726.zip
Added patch to get rid of warnings with gcc4. Thanks to Marcelo Goes <vanquirius@gentoo.org>; bug #105561
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'media-gfx/jpeg2ps')
-rw-r--r--media-gfx/jpeg2ps/ChangeLog7
-rw-r--r--media-gfx/jpeg2ps/Manifest15
-rw-r--r--media-gfx/jpeg2ps/files/jpeg2ps-1.9-include.diff11
-rw-r--r--media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild11
4 files changed, 35 insertions, 9 deletions
diff --git a/media-gfx/jpeg2ps/ChangeLog b/media-gfx/jpeg2ps/ChangeLog
index 031ae30988bd..4d07791794ae 100644
--- a/media-gfx/jpeg2ps/ChangeLog
+++ b/media-gfx/jpeg2ps/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/jpeg2ps
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/ChangeLog,v 1.8 2005/09/12 21:18:38 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/ChangeLog,v 1.9 2005/09/13 16:34:51 halcy0n Exp $
+
+ 13 Sep 2005; Mark Loeser <halcy0n@gentoo.org>
+ +files/jpeg2ps-1.9-include.diff, jpeg2ps-1.9-r1.ebuild:
+ Added patch to get rid of warnings with gcc4. Thanks to Marcelo Goes
+ <vanquirius@gentoo.org>; bug #105561
12 Sep 2005; Joseph Jezak <josejx@gentoo.org> jpeg2ps-1.9-r1.ebuild:
Marked ~ppc for bug #105561.
diff --git a/media-gfx/jpeg2ps/Manifest b/media-gfx/jpeg2ps/Manifest
index b7002f2e4806..5df11579bf8a 100644
--- a/media-gfx/jpeg2ps/Manifest
+++ b/media-gfx/jpeg2ps/Manifest
@@ -1,16 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 72ae962a337ed94f3833286b0cfb39cb ChangeLog 1004
-MD5 6c8c7c049342cbfec9eafc2be9fa31c6 metadata.xml 220
+MD5 e65ace74784e047bee8bef8020572c12 ChangeLog 1223
+MD5 88104fa6d867fd91af72149803c24dc2 jpeg2ps-1.9-r1.ebuild 1513
MD5 bf609798498cc213dec7124c8e14a036 jpeg2ps-1.9.ebuild 1158
-MD5 38b6d176fc72f338fecb865e3b2af93f jpeg2ps-1.9-r1.ebuild 1411
-MD5 d40db91990d9b92ba61626a89d40d818 files/digest-jpeg2ps-1.9-r1 62
+MD5 6c8c7c049342cbfec9eafc2be9fa31c6 metadata.xml 220
MD5 d40db91990d9b92ba61626a89d40d818 files/digest-jpeg2ps-1.9 62
+MD5 d40db91990d9b92ba61626a89d40d818 files/digest-jpeg2ps-1.9-r1 62
+MD5 3836d11586a0cd4279eb4915c4b5f7df files/jpeg2ps-1.9-include.diff 341
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDJfBHcsIHjyDViGQRAuDKAJ44gu57bG7pbdYgC3/qxifrWcOLggCgtYnr
-WGQ6MPuIcz5kpsMSJEudzwU=
-=qbws
+iD8DBQFDJv/UCRZPokWLroQRAky6AJ9k98gPuZEvqjifJsIB8HvKXBhEZQCePTdp
+6vMRkBNibqlmalgIYfvWk98=
+=mwQA
-----END PGP SIGNATURE-----
diff --git a/media-gfx/jpeg2ps/files/jpeg2ps-1.9-include.diff b/media-gfx/jpeg2ps/files/jpeg2ps-1.9-include.diff
new file mode 100644
index 000000000000..f07b69c5bc6a
--- /dev/null
+++ b/media-gfx/jpeg2ps/files/jpeg2ps-1.9-include.diff
@@ -0,0 +1,11 @@
+diff --exclude='*~' -Naur jpeg2ps-1.9.orig/asc85ec.c jpeg2ps-1.9/asc85ec.c
+--- jpeg2ps-1.9.orig/asc85ec.c 2005-09-10 23:02:15.000000000 -0300
++++ jpeg2ps-1.9/asc85ec.c 2005-09-10 23:08:08.000000000 -0300
+@@ -3,6 +3,7 @@
+
+ #include <stdio.h>
+ #include <fcntl.h>
++#include <stdlib.h>
+
+ /* try to identify Mac compilers */
+ #ifdef __MWERKS__
diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild
index 5ecc546925d2..e357f21098bd 100644
--- a/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild
+++ b/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild,v 1.2 2005/09/12 21:18:38 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild,v 1.3 2005/09/13 16:34:51 halcy0n Exp $
+
+inherit eutils
DESCRIPTION="Converts JPEG images to Postscript using a wrapper"
HOMEPAGE="http://www.pdflib.com/products/more/jpeg2ps.html"
@@ -14,6 +16,13 @@ IUSE=""
DEPEND="sys-apps/sed"
RDEPEND=""
+src_unpack() {
+ unpack ${A}
+
+ #bug 105561
+ epatch "${FILESDIR}"/${P}-include.diff
+}
+
src_compile() {
local pagesize=""
if [ -h /etc/localtime ]; then