summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2006-04-05 07:08:26 +0000
committerHarald van Dijk <truedfx@gentoo.org>2006-04-05 07:08:26 +0000
commit1e9f6523808420ece0236aaa67451a433c76ea5c (patch)
treeeaf8e4ad597d0ab97669a01a6f5f84fec40051dc /app-text
parentFixing the ACCESS VIOLATIONs, thanks go to Lars (Polynomial-C) <polynomial-C@... (diff)
downloadgentoo-2-1e9f6523808420ece0236aaa67451a433c76ea5c.tar.gz
gentoo-2-1e9f6523808420ece0236aaa67451a433c76ea5c.tar.bz2
gentoo-2-1e9f6523808420ece0236aaa67451a433c76ea5c.zip
*BSD compatibility
(Portage version: 2.1_pre7-r4)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/ghostscript-esp/ChangeLog7
-rw-r--r--app-text/ghostscript-esp/Manifest9
-rw-r--r--app-text/ghostscript-esp/files/ghostscript-esp-8.15.1-bsd.patch20
-rw-r--r--app-text/ghostscript-esp/ghostscript-esp-8.15.1-r1.ebuild3
4 files changed, 34 insertions, 5 deletions
diff --git a/app-text/ghostscript-esp/ChangeLog b/app-text/ghostscript-esp/ChangeLog
index b24a2cd95097..5e84492d8046 100644
--- a/app-text/ghostscript-esp/ChangeLog
+++ b/app-text/ghostscript-esp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/ghostscript-esp
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ChangeLog,v 1.21 2006/04/03 21:51:57 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ChangeLog,v 1.22 2006/04/05 07:08:23 truedfx Exp $
+
+ 05 Apr 2006; Harald van Dijk <truedfx@gentoo.org>
+ +files/ghostscript-esp-8.15.1-bsd.patch, ghostscript-esp-8.15.1-r1.ebuild:
+ *BSD --enable-dynamic support, and a proper error message for systems it
+ does not support
*ghostscript-esp-8.15.1-r1 (03 Apr 2006)
diff --git a/app-text/ghostscript-esp/Manifest b/app-text/ghostscript-esp/Manifest
index 4f97d072c202..5dbda21aaefa 100644
--- a/app-text/ghostscript-esp/Manifest
+++ b/app-text/ghostscript-esp/Manifest
@@ -40,6 +40,9 @@ SHA256 2c197e3f1e84193eb011212b604c4b9abc092cb00f8c56438ed418dbad58ed76 files/gh
MD5 5b476654e84a9748e3d56d86f264b277 files/ghostscript-esp-7.07.1-64bit-cmyk.patch 1777
RMD160 6b59d9b2583c8fbc00ad1267809b815f167c27e9 files/ghostscript-esp-7.07.1-64bit-cmyk.patch 1777
SHA256 6261f97860549cfd27ed5c0c9a2967bf00a58076c38529828ce99e794ab083b1 files/ghostscript-esp-7.07.1-64bit-cmyk.patch 1777
+MD5 95e181c9c56fda2cbdd59a1dccd853d7 files/ghostscript-esp-8.15.1-bsd.patch 542
+RMD160 a86fe4eeaf5ac6a4ded26cb8188786df547db7bf files/ghostscript-esp-8.15.1-bsd.patch 542
+SHA256 e5d84f8ccd438398722ef9717e123431fa8c7ee5164dd6cce947cf913b41335d files/ghostscript-esp-8.15.1-bsd.patch 542
MD5 64856e99a488d61dfa4af58e24fb24b9 files/ghostscript-esp-8.15.1-fPIC.patch 322
RMD160 a38646a9529c8b9d52c9b7910880ec54f89886e4 files/ghostscript-esp-8.15.1-fPIC.patch 322
SHA256 dae3f78af76da535c057276c6b9fbeb70688016b2fc42ac4d318e31d9442fc5a files/ghostscript-esp-8.15.1-fPIC.patch 322
@@ -118,9 +121,9 @@ SHA256 4ee53b22ffb749db27f4b667580b8720122dde8e3a75ab70816e37aa7847f015 ghostscr
MD5 46ca5e0ed613d3812d9d64d3c44ed4b9 ghostscript-esp-7.07.1-r8.ebuild 5597
RMD160 48c71eb0c46455dfc57cddd37bb3b09bc503e8b8 ghostscript-esp-7.07.1-r8.ebuild 5597
SHA256 0ebb51a5e91a07e3e1a816a7634cd35650fa9f7d32cc723ed14e28ff02480449 ghostscript-esp-7.07.1-r8.ebuild 5597
-MD5 18334730662eada981a4c4f8681d49a1 ghostscript-esp-8.15.1-r1.ebuild 3999
-RMD160 e74ae9d47fde1137dd884aa1e695ad00db32b6eb ghostscript-esp-8.15.1-r1.ebuild 3999
-SHA256 6292ad7fdd770c082d28be9d0975f8131f9297e08140192199633d96965cf173 ghostscript-esp-8.15.1-r1.ebuild 3999
+MD5 bbe3d17a15493b48a94407c2d987bf6a ghostscript-esp-8.15.1-r1.ebuild 4034
+RMD160 f71cd958411d99a9f8de8ea00c3657f74dc99f3c ghostscript-esp-8.15.1-r1.ebuild 4034
+SHA256 c159f6ca6352e2e7c5a5a2381b58cbbf8770c89a15f3873096934890dbf881ae ghostscript-esp-8.15.1-r1.ebuild 4034
MD5 d40fb7aaaa18d6c6dfc3e1450c8346c9 ghostscript-esp-8.15.1.ebuild 3845
RMD160 b8e292d2f8327d17f7990e05b185f769a8072121 ghostscript-esp-8.15.1.ebuild 3845
SHA256 672abca0f80a23e301bc5f88004ffddab35551acf235ea6ff9d6733095cebe97 ghostscript-esp-8.15.1.ebuild 3845
diff --git a/app-text/ghostscript-esp/files/ghostscript-esp-8.15.1-bsd.patch b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.1-bsd.patch
new file mode 100644
index 000000000000..a988ef0b66f4
--- /dev/null
+++ b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.1-bsd.patch
@@ -0,0 +1,20 @@
+--- espgs-8.15.1/configure.ac
++++ espgs-8.15.1/configure.ac
+@@ -742,8 +742,16 @@
+ DYNAMIC_LIBS="-rdynamic -ldl"
+ X_DEVS=""
+ ;;
++ *BSD)
++ DYNAMIC_CFLAGS="-fPIC"
++ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so"
++ DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\""
++ DYNAMIC_LDFLAGS="-fPIC -shared"
++ DYNAMIC_LIBS=""
++ X_DEVS=""
++ ;;
+ *)
+- AC_MSG_ERROR(Sorry, dynamic driver support not available on this platform!)
++ AC_MSG_ERROR([Sorry, dynamic driver support not available on this platform!])
+ ;;
+ esac
+ ])
diff --git a/app-text/ghostscript-esp/ghostscript-esp-8.15.1-r1.ebuild b/app-text/ghostscript-esp/ghostscript-esp-8.15.1-r1.ebuild
index 5835093e94ed..918b44ead685 100644
--- a/app-text/ghostscript-esp/ghostscript-esp-8.15.1-r1.ebuild
+++ b/app-text/ghostscript-esp/ghostscript-esp-8.15.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ghostscript-esp-8.15.1-r1.ebuild,v 1.1 2006/04/03 21:51:57 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ghostscript-esp-8.15.1-r1.ebuild,v 1.2 2006/04/05 07:08:23 truedfx Exp $
inherit eutils autotools flag-o-matic
@@ -55,6 +55,7 @@ src_unpack() {
epatch ${FILESDIR}/ghostscript-use-external-freetype.patch
epatch ${FILESDIR}/ghostscript-split-font-configuration.patch
epatch ${FILESDIR}/${P}-fPIC.patch
+ epatch ${FILESDIR}/${P}-bsd.patch
# not submitted
epatch ${FILESDIR}/ijs-dirinstall.diff