Fix 64bit trace failure
authorKeri Harris <keri@gentoo.org>
Sat, 3 Mar 2007 19:56:59 +0000 (19:56 +0000)
committerKeri Harris <keri@gentoo.org>
Sat, 3 Mar 2007 19:56:59 +0000 (19:56 +0000)
Package-Manager: portage-2.1.2-r12

dev-lang/gprolog/ChangeLog
dev-lang/gprolog/Manifest
dev-lang/gprolog/files/digest-gprolog-1.3.0-r1 [new file with mode: 0644]
dev-lang/gprolog/files/gprolog-1.3.0-linedit.patch [new file with mode: 0644]
dev-lang/gprolog/gprolog-1.3.0-r1.ebuild [new file with mode: 0644]

index 9886596b3ad52319f1a4da4be1793bc18d4852cc..5903f438c3bbcc83b382b7cf375c4cce0d770888 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-lang/gprolog
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.24 2007/02/27 13:02:00 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.25 2007/03/03 19:56:59 keri Exp $
+
+*gprolog-1.3.0-r1 (03 Mar 2007)
+
+  03 Mar 2007; keri <keri@gentoo.org> +files/gprolog-1.3.0-linedit.patch,
+  +gprolog-1.3.0-r1.ebuild:
+  Fix 64bit trace failure.
 
   27 Feb 2007; Fabian Groffen <grobian@gentoo.org> gprolog-1.2.19.ebuild,
   gprolog-1.3.0.ebuild:
index 14b92b7f556df4d14af244962796c126bc64a9c3..9d1c1640f5222359a3444a2642c77cd5c407d6f1 100644 (file)
@@ -26,6 +26,10 @@ AUX gprolog-1.3.0-TXT_FILES.patch 578 RMD160 e7891aea4308792c22b10d16398fe0c2bc2
 MD5 6def7556d8d272b2e6f85494779757cf files/gprolog-1.3.0-TXT_FILES.patch 578
 RMD160 e7891aea4308792c22b10d16398fe0c2bc263cd0 files/gprolog-1.3.0-TXT_FILES.patch 578
 SHA256 41874f3869eb86dc1a723bf820b68c212069ee2332a0adda0a575ba03c037a2b files/gprolog-1.3.0-TXT_FILES.patch 578
+AUX gprolog-1.3.0-linedit.patch 417 RMD160 de3127144ff9e6f4c8c079ea3b75dc5d49b2303d SHA1 74336dcff636947ca05c325853ef48986830426a SHA256 3eed2e37df9e18a33f27f747d59db162774a6568cf6aeccdbf1c5716dcab4725
+MD5 2cc514e678aeae483f7d6ed10571fdc3 files/gprolog-1.3.0-linedit.patch 417
+RMD160 de3127144ff9e6f4c8c079ea3b75dc5d49b2303d files/gprolog-1.3.0-linedit.patch 417
+SHA256 3eed2e37df9e18a33f27f747d59db162774a6568cf6aeccdbf1c5716dcab4725 files/gprolog-1.3.0-linedit.patch 417
 AUX gprolog-1.3.0-test.patch 696 RMD160 23255c5014b52bd959ed100d773d9220eff24391 SHA1 acbe4780303bb83a51330be53e5660bd212f87e6 SHA256 22027da89cfcdd0a98f6e06c1d87e5c47938199a8da39197c753c66d5e2b8d02
 MD5 c01de8d7743f5b3451caffb39e02a765 files/gprolog-1.3.0-test.patch 696
 RMD160 23255c5014b52bd959ed100d773d9220eff24391 files/gprolog-1.3.0-test.patch 696
@@ -36,14 +40,18 @@ EBUILD gprolog-1.2.19.ebuild 1908 RMD160 9db8a7a50f9f003174b08f8f5abb7764b807954
 MD5 e3688b012d91444bc1fe0db3a8c33f3e gprolog-1.2.19.ebuild 1908
 RMD160 9db8a7a50f9f003174b08f8f5abb7764b8079544 gprolog-1.2.19.ebuild 1908
 SHA256 0807bbdf4387e628a9ef73f44497b5678cd7d366551ef965ede9489bccfa211e gprolog-1.2.19.ebuild 1908
+EBUILD gprolog-1.3.0-r1.ebuild 1486 RMD160 61c2fef9a95ddbf6713884ca1c9370f5936f2ab7 SHA1 71707152cdbc7ec9cabb53fa2c13e8fd9e6fa19f SHA256 1686378262d02654391e4fbdef902e02fcccfb13555be9549e5a40330c6974c9
+MD5 1ce70a23aa413365290901f55f12fbc6 gprolog-1.3.0-r1.ebuild 1486
+RMD160 61c2fef9a95ddbf6713884ca1c9370f5936f2ab7 gprolog-1.3.0-r1.ebuild 1486
+SHA256 1686378262d02654391e4fbdef902e02fcccfb13555be9549e5a40330c6974c9 gprolog-1.3.0-r1.ebuild 1486
 EBUILD gprolog-1.3.0.ebuild 1443 RMD160 2c6a68a29dbb32784017b5543a7a366ff7fceaed SHA1 547314e1d23eaa7f68eda65e8fff2e4ca280b23c SHA256 fd623dcf5a962c03f6e14307ee97aa5e219636abf108fc839f1c6981e7220005
 MD5 ddaac1515a51a10fa1dfcef3b034af89 gprolog-1.3.0.ebuild 1443
 RMD160 2c6a68a29dbb32784017b5543a7a366ff7fceaed gprolog-1.3.0.ebuild 1443
 SHA256 fd623dcf5a962c03f6e14307ee97aa5e219636abf108fc839f1c6981e7220005 gprolog-1.3.0.ebuild 1443
-MISC ChangeLog 3400 RMD160 0b116d142a32074cfe2220729939bae2662e4046 SHA1 4bf73a5353641e6fbc57242cf082cd87824c8c0e SHA256 299bf00001e79cdc6ef5bfeb9d1dfd59648a39656414de53cba15743f7b08e37
-MD5 0c8bb393607e12a988c38cf101ea05ab ChangeLog 3400
-RMD160 0b116d142a32074cfe2220729939bae2662e4046 ChangeLog 3400
-SHA256 299bf00001e79cdc6ef5bfeb9d1dfd59648a39656414de53cba15743f7b08e37 ChangeLog 3400
+MISC ChangeLog 3560 RMD160 5cd2eee062a8f21c3fd6cf8b596ec0bd109e6a1e SHA1 ea1ecc6e6784e45b966eb920e782cf3be4e32a79 SHA256 9f8d06fce9199fd2082d356460d94bf34094d4e5f9d5d2ee22bbc81ae395aedd
+MD5 529b7bf22aca7b5b7bd81f04ce6ecb32 ChangeLog 3560
+RMD160 5cd2eee062a8f21c3fd6cf8b596ec0bd109e6a1e ChangeLog 3560
+SHA256 9f8d06fce9199fd2082d356460d94bf34094d4e5f9d5d2ee22bbc81ae395aedd ChangeLog 3560
 MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba
 MD5 9187f53634e60ab7eb2ac7e98b0b19f7 metadata.xml 159
 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c metadata.xml 159
@@ -54,3 +62,6 @@ SHA256 21e22269c6f3964ae210849c0a992bca0ea43acaa231fa8c5b8ec46b59eec256 files/di
 MD5 0a1fb9180903a3d85907a1c2c94b6c71 files/digest-gprolog-1.3.0 244
 RMD160 fb137977c1ba901375668ab52bb38b6bf4450ec6 files/digest-gprolog-1.3.0 244
 SHA256 77c7fa4c7fdbb5a459bfaf95c4f3ad16fd07227f3dabddb771251805a9fe5cf2 files/digest-gprolog-1.3.0 244
+MD5 0a1fb9180903a3d85907a1c2c94b6c71 files/digest-gprolog-1.3.0-r1 244
+RMD160 fb137977c1ba901375668ab52bb38b6bf4450ec6 files/digest-gprolog-1.3.0-r1 244
+SHA256 77c7fa4c7fdbb5a459bfaf95c4f3ad16fd07227f3dabddb771251805a9fe5cf2 files/digest-gprolog-1.3.0-r1 244
diff --git a/dev-lang/gprolog/files/digest-gprolog-1.3.0-r1 b/dev-lang/gprolog/files/digest-gprolog-1.3.0-r1
new file mode 100644 (file)
index 0000000..822da9e
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 950736db26248f6ed942191ec6c441e9 gprolog-1.3.0.tar.gz 3016665
+RMD160 56a7e6f0dab343d162620bccb177e67bca639797 gprolog-1.3.0.tar.gz 3016665
+SHA256 1aca625e06d4cf05f9d6049e33f7a87afff98995670faf8bc3dfd1768244d3a7 gprolog-1.3.0.tar.gz 3016665
diff --git a/dev-lang/gprolog/files/gprolog-1.3.0-linedit.patch b/dev-lang/gprolog/files/gprolog-1.3.0-linedit.patch
new file mode 100644 (file)
index 0000000..c3450a3
--- /dev/null
@@ -0,0 +1,17 @@
+--- gprolog-1.3.0.orig/src/Linedit/Makefile.in 2007-01-04 23:21:50.000000000 +1300
++++ gprolog-1.3.0/src/Linedit/Makefile.in      2007-03-04 08:33:37.000000000 +1300
+@@ -11,9 +11,14 @@
+ .SUFFIXES:
+ .SUFFIXES: @OBJ_SUFFIX@ .c $(SUFFIXES)
++all: $(LIBNAME)
++
+ .c@OBJ_SUFFIX@:
+       $(CC) -c $(CFLAGS) $*.c
++linedit.o: linedit.c
++      $(CC) -c $^
++
+ $(LIBNAME): $(OBJLIB)
+       rm -f $(LIBNAME)
+       $(AR_RC)@AR_SEP@$(LIBNAME) $(OBJLIB)
diff --git a/dev-lang/gprolog/gprolog-1.3.0-r1.ebuild b/dev-lang/gprolog/gprolog-1.3.0-r1.ebuild
new file mode 100644 (file)
index 0000000..1290ac3
--- /dev/null
@@ -0,0 +1,55 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/gprolog-1.3.0-r1.ebuild,v 1.1 2007/03/03 19:56:59 keri Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="GNU Prolog is a native Prolog compiler with constraint solving over finite domains (FD)"
+HOMEPAGE="http://www.gprolog.org/"
+SRC_URI="ftp://ftp.gnu.org/gnu/gprolog/gprolog-1.3.0.tar.gz"
+S=${WORKDIR}/${P}/src
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc examples"
+
+DEPEND=""
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       epatch "${FILESDIR}"/${P}-CFLAGS_MACHINE.patch
+       epatch "${FILESDIR}"/${P}-TXT_FILES.patch
+       epatch "${FILESDIR}"/${P}-linedit.patch
+       epatch "${FILESDIR}"/${P}-test.patch
+}
+
+src_compile() {
+       CFLAGS_MACHINE="`get-flag -march` `get-flag -mcpu` `get-flag -mtune`"
+
+       econf \
+               CFLAGS_MACHINE="${CFLAGS_MACHINE}" \
+               --with-c-flags="${CFLAGS}" \
+               --with-install-dir="${D}"/usr \
+               --with-doc-dir="${D}"/usr/share/doc/${PF} \
+               --with-html-dir="${D}"/usr/share/doc/${PF}/html \
+               --with-examples-dir="${D}"/usr/share/doc/${PF}/examples \
+               || die "econf failed"
+
+       emake || die "emake failed"
+}
+
+src_install() {
+       make install-system || die "make install-system failed"
+
+       if use doc; then
+               make install-html || die "make install-html failed"
+       fi
+       if use examples; then
+               make install-examples || die "make install-examples failed"
+       fi
+
+       cd "${S}"/..
+       dodoc ChangeLog NEWS PROBLEMS README VERSION
+}