include errno.h in pl-text.c. Closes #166481.
authorKeri Harris <keri@gentoo.org>
Tue, 13 Feb 2007 07:43:21 +0000 (07:43 +0000)
committerKeri Harris <keri@gentoo.org>
Tue, 13 Feb 2007 07:43:21 +0000 (07:43 +0000)
Package-Manager: portage-2.1.2-r9

dev-lang/swi-prolog/ChangeLog
dev-lang/swi-prolog/Manifest
dev-lang/swi-prolog/files/swi-prolog-errno.patch [new file with mode: 0644]
dev-lang/swi-prolog/swi-prolog-5.6.28.ebuild

index 98d30d3778a5dc6db80cb065f346247f03ffdc07..f1f9d3ed2b68103ed1f4e4b766535d2032fb3184 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-lang/swi-prolog
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.60 2007/02/07 06:17:25 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.61 2007/02/13 07:43:21 keri Exp $
+
+  13 Feb 2007; keri <keri@gentoo.org> +files/swi-prolog-errno.patch,
+  swi-prolog-5.6.28.ebuild:
+  Include errno.h in pl-text.c. Reported by August Hörandl; fix suggested by
+  Panagiotis Christopoulos. Closes bug #166481.
 
 *swi-prolog-5.6.28 (07 Feb 2007)
 
index 5858320a8ee6d8f1f5927d36328073a26cd10d87..cde57319c199f73451b235246a0f0173bf151336 100644 (file)
@@ -58,6 +58,10 @@ AUX swi-prolog-db-versioned.patch 961 RMD160 b5a3ea3e46f32c12ccbfdee5c421399b91c
 MD5 3066f6d0fdba637c6dc31e1da430dc9f files/swi-prolog-db-versioned.patch 961
 RMD160 b5a3ea3e46f32c12ccbfdee5c421399b91ca2fb1 files/swi-prolog-db-versioned.patch 961
 SHA256 99e82b6511c2bf0cfc7014de7b5af8e8d924d9383192031d3f5618a1fbddc734 files/swi-prolog-db-versioned.patch 961
+AUX swi-prolog-errno.patch 325 RMD160 5d215a4b821b55d1ad71cbf8acf6fd05b353d9e1 SHA1 7b07c8ab734e6296783f986576ee01dbcd81b97d SHA256 2043e4a128d3963ecc97ea3a205bf471aea87658f8c9ba72c8f72c23eb912750
+MD5 3c8bbbbca7525f642abf9efa9b8ab89b files/swi-prolog-errno.patch 325
+RMD160 5d215a4b821b55d1ad71cbf8acf6fd05b353d9e1 files/swi-prolog-errno.patch 325
+SHA256 2043e4a128d3963ecc97ea3a205bf471aea87658f8c9ba72c8f72c23eb912750 files/swi-prolog-errno.patch 325
 AUX swi-prolog-gmp-sparc-alignment.patch 418 RMD160 feaedc52024748c0a7060c248d4c7f1e390ebcfb SHA1 b8f5f12b1102cfcaca4546703d01e9d336ddc886 SHA256 5547a1c05e3ed1353e6cceca5f57a77786ab0acd978e0254a4af2bfced9af32a
 MD5 8c1630ee80c99b96cd7b1e7caa57e285 files/swi-prolog-gmp-sparc-alignment.patch 418
 RMD160 feaedc52024748c0a7060c248d4c7f1e390ebcfb files/swi-prolog-gmp-sparc-alignment.patch 418
@@ -209,14 +213,14 @@ EBUILD swi-prolog-5.6.27.ebuild 3580 RMD160 97a0fa45643a3a935d4090dc7565b28122d1
 MD5 485e42a4b067af402cf274c61c2c9678 swi-prolog-5.6.27.ebuild 3580
 RMD160 97a0fa45643a3a935d4090dc7565b28122d17cfc swi-prolog-5.6.27.ebuild 3580
 SHA256 b5d3199e3b09db4208cc96ea9353f16159ca0f124d7fbc217afa5d40a2ea4191 swi-prolog-5.6.27.ebuild 3580
-EBUILD swi-prolog-5.6.28.ebuild 3580 RMD160 75003bc776ff549b6c9017f6fa9ed14b72114c1f SHA1 308b9a0086871b9fdf0a684f25f09245cb8579d8 SHA256 14a810ae569682562ed297fd7c1479323d1a2e88baa14768a1c2b0d0a5620c32
-MD5 f24dc056c20643f4a63c14cd96edc803 swi-prolog-5.6.28.ebuild 3580
-RMD160 75003bc776ff549b6c9017f6fa9ed14b72114c1f swi-prolog-5.6.28.ebuild 3580
-SHA256 14a810ae569682562ed297fd7c1479323d1a2e88baa14768a1c2b0d0a5620c32 swi-prolog-5.6.28.ebuild 3580
-MISC ChangeLog 11925 RMD160 a34012b0615f5570d34cf3c9c31051cf6885fed6 SHA1 8de4f888942c3e1b6295a1d4e23fc956526e77ea SHA256 d117a77ac8b8d332496f4f38d01250d4b7adf7edaeb56e0c99331d55f38f5713
-MD5 97aca2513cc64721e9cab14ffeb831f3 ChangeLog 11925
-RMD160 a34012b0615f5570d34cf3c9c31051cf6885fed6 ChangeLog 11925
-SHA256 d117a77ac8b8d332496f4f38d01250d4b7adf7edaeb56e0c99331d55f38f5713 ChangeLog 11925
+EBUILD swi-prolog-5.6.28.ebuild 3620 RMD160 eb031f04b04eab63a60f1370d91f752520a83890 SHA1 0f9d522de6eeb756db9c9858ddcaa122f34c5e65 SHA256 7c3385a6c7249c2d3b47543fc6fa6369cd0623f8143077d878cfbe5a0d03b2e7
+MD5 948e2477867879732d9e2e1f0a7a126e swi-prolog-5.6.28.ebuild 3620
+RMD160 eb031f04b04eab63a60f1370d91f752520a83890 swi-prolog-5.6.28.ebuild 3620
+SHA256 7c3385a6c7249c2d3b47543fc6fa6369cd0623f8143077d878cfbe5a0d03b2e7 swi-prolog-5.6.28.ebuild 3620
+MISC ChangeLog 12149 RMD160 ec5a31a7a4d29ad7886f1d4ab107b0fdce896143 SHA1 dbadfa463facf1a5e0ed1c41adfafb90d26abf25 SHA256 0e71531ed645df24e3c73ac8366b0a40fde4c7e6bb45055eb9467d55d57e456c
+MD5 b5bfe75a9c2f0aa3408b368060dbf8b5 ChangeLog 12149
+RMD160 ec5a31a7a4d29ad7886f1d4ab107b0fdce896143 ChangeLog 12149
+SHA256 0e71531ed645df24e3c73ac8366b0a40fde4c7e6bb45055eb9467d55d57e456c ChangeLog 12149
 MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba
 MD5 9187f53634e60ab7eb2ac7e98b0b19f7 metadata.xml 159
 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c metadata.xml 159
diff --git a/dev-lang/swi-prolog/files/swi-prolog-errno.patch b/dev-lang/swi-prolog/files/swi-prolog-errno.patch
new file mode 100644 (file)
index 0000000..2e1f300
--- /dev/null
@@ -0,0 +1,10 @@
+--- pl-5.6.28.orig/src/pl-text.c       2007-01-24 08:25:14.000000000 +1300
++++ pl-5.6.28/src/pl-text.c    2007-02-13 19:59:07.000000000 +1300
+@@ -25,6 +25,7 @@
+ #include "pl-incl.h"
+ #include "pl-ctype.h"
+ #include "pl-utf8.h"
++#include <errno.h>
+ #include <stdio.h>
+ #ifdef __WINDOWS__
+ #include "pl-mswchar.h"                       /* Terrible hack */
index 055ff96e5f6bd8668caeff698bba57794cf935eb..208302c026dc501010516f4e47aa420c52c1c792 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.28.ebuild,v 1.1 2007/02/07 06:17:25 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.28.ebuild,v 1.2 2007/02/13 07:43:21 keri Exp $
 
 inherit eutils java-pkg-opt-2
 
@@ -44,6 +44,7 @@ src_unpack() {
        epatch "${FILESDIR}"/${PN}-CFLAGS-r4.patch
        epatch "${FILESDIR}"/${PN}-PLBASE-r2.patch
        epatch "${FILESDIR}"/${PN}-cppproxy-r1.patch
+       epatch "${FILESDIR}"/${PN}-errno.patch
        epatch "${FILESDIR}"/${PN}-jpl-PLARCH.patch
        epatch "${FILESDIR}"/${PN}-jpl-LDPATH-r2.patch
        epatch "${FILESDIR}"/${PN}-jpl-junit.patch