summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2008-08-24 14:50:52 +0000
committerMarijn Schouten <hkbst@gentoo.org>2008-08-24 14:50:52 +0000
commit0d43a1533dc66c5862b5155bffe5018757c92697 (patch)
treee73ba6c803cc60f252cad349ce5f6e42b66ef473 /dev-lang
parentmask dxr* use flags on ppc64 for mplayer - bug #234629 (diff)
downloadhistorical-0d43a1533dc66c5862b5155bffe5018757c92697.tar.gz
historical-0d43a1533dc66c5862b5155bffe5018757c92697.tar.bz2
historical-0d43a1533dc66c5862b5155bffe5018757c92697.zip
add fix for compiling against drscheme-4, bug 235596, thanks to Dmitry Dzhus <dima@sphinx.net.ru> for the fix.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.23-gentoo-r8 x86_64 RepoMan-Options: --force
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/swig/ChangeLog7
-rw-r--r--dev-lang/swig/Manifest5
-rw-r--r--dev-lang/swig/files/fix-for-PLT4.patch11
-rw-r--r--dev-lang/swig/swig-1.3.36.ebuild11
4 files changed, 30 insertions, 4 deletions
diff --git a/dev-lang/swig/ChangeLog b/dev-lang/swig/ChangeLog
index cac454ede488..3bdb0a21f819 100644
--- a/dev-lang/swig/ChangeLog
+++ b/dev-lang/swig/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/swig
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/ChangeLog,v 1.118 2008/08/23 05:47:34 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/ChangeLog,v 1.119 2008/08/24 14:50:52 hkbst Exp $
+
+ 24 Aug 2008; Marijn Schouten <hkBst@gentoo.org> +files/fix-for-PLT4.patch,
+ swig-1.3.36.ebuild:
+ add fix for compiling against drscheme-4, bug 235596, thanks to Dmitry
+ Dzhus <dima@sphinx.net.ru> for the fix.
23 Aug 2008; Jeroen Roovers <jer@gentoo.org> metadata.xml:
Add GLEP 56 USE flag descriptions.
diff --git a/dev-lang/swig/Manifest b/dev-lang/swig/Manifest
index ae54094c2ac9..2333ccc0cdea 100644
--- a/dev-lang/swig/Manifest
+++ b/dev-lang/swig/Manifest
@@ -1,3 +1,4 @@
+AUX fix-for-PLT4.patch 916 RMD160 9648f08ffe046703375c09623ad20035c297b624 SHA1 b5d6f70548412fade5018718f51c1734ef47702e SHA256 ebae5aa4d2d8ef5c237133e42d2a58c9b4e001099f5799876d07ee601c410831
AUX swig-const.patch 1343 RMD160 12b783de48888237d5b58726501e6299393c222b SHA1 ebbc70b6be6a1c22d4a5a4e29efe27dc201b77f4 SHA256 1b534a21cd72942ca34f39cb7e56b9605ec9fa611bf2835efda54fa745b26189
DIST swig-1.3.31.tar.gz 4177499 RMD160 7f2c8edec5875bd21138bb00070f214d14ed1894 SHA1 3369543fa178bdeaa597dba806be04b9c8d0f12c SHA256 c2ad63095e34b4a474e7ff4adb6ea8b7ab238bb5738d00a739102bb8bb71d805
DIST swig-1.3.33.tar.gz 4410908 RMD160 46bce68b55122fa061efd462f2dff1d5db8c7960 SHA1 88980224288326e8e4aa2df629f7eed026ba9421 SHA256 fbbdc846f61103a8c7b7f4af6d755a6cd20e5343691e6f9fd54b0b6262183f0b
@@ -8,6 +9,6 @@ EBUILD swig-1.3.31.ebuild 1685 RMD160 c317f5fa2103ba12e37474a624108ac5a3db588f S
EBUILD swig-1.3.33.ebuild 1901 RMD160 e934abdcb828eae5fb1cfa16dc9464df8659d883 SHA1 48505c980a54a5294fff1c614259d7e50cff255c SHA256 b4290e4dca32699fa3ad019fbf9ed234602c6566fc742f57e45ec634db2ef560
EBUILD swig-1.3.34.ebuild 1895 RMD160 d2a417a89bddda5af73d0d8338a82e9898c0ea5d SHA1 f1a89c1116515c049a5f97e9300007d89bd7fb74 SHA256 f8da8f4a3bfe828229f76b1360a41172546008741ea1006df5359912becd1850
EBUILD swig-1.3.35.ebuild 1972 RMD160 d963db7ec2c3e76eea4ea9b73e6feea352ad8a12 SHA1 f00464ad2bc7411f2964e919d7b6553482087f08 SHA256 b8e2d4d03af530703f9c185b9ba5d03f07c4b10e6f38794bf02e55f0a20d5e5b
-EBUILD swig-1.3.36.ebuild 1952 RMD160 5b47cec02aed5797f0812be7b75e655e7b52ad17 SHA1 83d20106dad956fdc329df057ff4882c1c9f3b59 SHA256 491ffe77e949a61fc29944210ef13ae3467912db9bb5ef3ac7bfcd1ef223e8e5
-MISC ChangeLog 14061 RMD160 70665437c7d221bac2d241cb85a7f3d600d03c7c SHA1 be905703670aabdb8753d249dcf7b311b814b3dd SHA256 79b1cf5fc8cd1aed22e05ee8532af84c5a183e7d58cb88a563ae1ce56c690c67
+EBUILD swig-1.3.36.ebuild 2103 RMD160 be19d4a4bb9268e5948722f574cb49c4491debfa SHA1 486e8431e06f083dab0d2aac1d8555fcf49d6a4d SHA256 22d7fa50ff279e9ca5be26f45815adfabff5c39ba2a316149eb460c0e62b7340
+MISC ChangeLog 14278 RMD160 c796ad533a522112c46451ae28c20bb9fdb4066a SHA1 161929681a069f02c758a2d85eadfa9fc3bea79c SHA256 5f48e782ea790fb2d5213fc74f4c1a230d0541f9c3139a0b23f8feea592c26dc
MISC metadata.xml 1098 RMD160 a441ef20a676e049deec5cdcb88eb1f6a8a60cb7 SHA1 d91d735bb19058252b0121682d41b6195adaff49 SHA256 cc0105d94dc638e2e0ebd548812b9e70abaf1cb574eb928532b6b75d6d19ea76
diff --git a/dev-lang/swig/files/fix-for-PLT4.patch b/dev-lang/swig/files/fix-for-PLT4.patch
new file mode 100644
index 000000000000..08d6537440e7
--- /dev/null
+++ b/dev-lang/swig/files/fix-for-PLT4.patch
@@ -0,0 +1,11 @@
+--- /home/sphinx/swig-1.3.36/configure.in 2008-06-24 00:26:07.000000000 +0400
++++ /home/sphinx/swig-1.3.36-nu/configure.in 2008-08-24 12:45:05.000000000 +0400
+@@ -1082,7 +1082,7 @@
+
+ if test -n "$MZSCHEME"; then
+ AC_MSG_CHECKING(for MzScheme dynext object)
+-MZDYNOBJ=`$MZSCHEME --mute-banner --version --eval '(begin (require (lib "link.ss" "dynext")) (with-handlers (((lambda args #t) (lambda args #f))) (for-each (lambda (x) (display x) (display " ")) ((current-make-standard-link-libraries)))) (with-handlers (((lambda args #t) (lambda args #f))) (for-each (lambda (x) (display x) (display " ")) (expand-for-link-variant (current-standard-link-libraries)))))'`
++MZDYNOBJ=`$MZSCHEME --eval '(begin (require dynext/link) (with-handlers (((lambda args #t) (lambda args #f))) (for-each (lambda (x) (printf "~a " x)) (expand-for-link-variant (current-standard-link-libraries)))))'`
+ AC_MSG_RESULT($MZDYNOBJ)
+ fi
+ fi
diff --git a/dev-lang/swig/swig-1.3.36.ebuild b/dev-lang/swig/swig-1.3.36.ebuild
index 1daf9bc57951..fc771e73b75a 100644
--- a/dev-lang/swig/swig-1.3.36.ebuild
+++ b/dev-lang/swig/swig-1.3.36.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.36.ebuild,v 1.1 2008/06/25 09:04:27 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.36.ebuild,v 1.2 2008/08/24 14:50:52 hkbst Exp $
inherit flag-o-matic mono eutils #48511
@@ -35,6 +35,15 @@ tk? ( dev-lang/tk )
"
# gcj? ( sys-devel/gcc[+gcj] )
+src_unpack() {
+ unpack ${A};cd "${S}"
+
+ if has_version '>=dev-scheme/drscheme-4'; then
+ epatch "${FILESDIR}"/fix-for-PLT4.patch
+ ./autogen.sh
+ fi
+}
+
src_compile() {
strip-flags