From 91c42ad74fa54c06a6a7659c9799926c2be5e6c9 Mon Sep 17 00:00:00 2001 From: Keri Harris Date: Mon, 1 Jan 2007 05:01:30 +0000 Subject: [PATCH] Handle SIO_FLUSHOUTPUT when closing SSL output streams. Package-Manager: portage-2.1.2_rc4-r2 --- dev-lang/swi-prolog/ChangeLog | 8 ++++++-- dev-lang/swi-prolog/Manifest | 20 +++++++++++-------- .../swi-prolog-ssl-SIO_FLUSHOUTPUT.patch | 11 ++++++++++ dev-lang/swi-prolog/swi-prolog-5.6.25.ebuild | 5 +++-- 4 files changed, 32 insertions(+), 12 deletions(-) create mode 100644 dev-lang/swi-prolog/files/swi-prolog-ssl-SIO_FLUSHOUTPUT.patch diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog index a84591b22fed..aa1af0d1bbfe 100644 --- a/dev-lang/swi-prolog/ChangeLog +++ b/dev-lang/swi-prolog/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-lang/swi-prolog -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.55 2006/12/29 21:19:41 keri Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.56 2007/01/01 05:01:30 keri Exp $ + + 01 Jan 2007; keri + +files/swi-prolog-ssl-SIO_FLUSHOUTPUT.patch, swi-prolog-5.6.25.ebuild: + Handle SIO_FLUSHOUTPUT when closing SSL output streams. *swi-prolog-5.6.25 (29 Dec 2006) diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index 2b39eec5f294..6f9a7a64e127 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -122,6 +122,10 @@ AUX swi-prolog-semweb-sparc-alignment.patch 493 RMD160 01dbb170b0ba4f808fcedfa4e MD5 6e51d8bc5b62b73596a976e4e9ce4dc5 files/swi-prolog-semweb-sparc-alignment.patch 493 RMD160 01dbb170b0ba4f808fcedfa4e4baa93177a40ff1 files/swi-prolog-semweb-sparc-alignment.patch 493 SHA256 3cff34e6f3dedf5b549c93826593109669a486a188a11ae8d878286b52282e2a files/swi-prolog-semweb-sparc-alignment.patch 493 +AUX swi-prolog-ssl-SIO_FLUSHOUTPUT.patch 302 RMD160 4c15cb3f7baa3812d6417a69a9d0c3bc5887aa0a SHA1 5450dcd8c536039f6ce92f1a105d5162d5d97024 SHA256 fd20ebe3a0d5f78bbd80d93d2f5809804c54fe114dc88f39cebd699e32298154 +MD5 0d07c1907732c495ec8f0c673993af18 files/swi-prolog-ssl-SIO_FLUSHOUTPUT.patch 302 +RMD160 4c15cb3f7baa3812d6417a69a9d0c3bc5887aa0a files/swi-prolog-ssl-SIO_FLUSHOUTPUT.patch 302 +SHA256 fd20ebe3a0d5f78bbd80d93d2f5809804c54fe114dc88f39cebd699e32298154 files/swi-prolog-ssl-SIO_FLUSHOUTPUT.patch 302 AUX swi-prolog-test_date.patch 4324 RMD160 998a7451af5f0de4a73f7f6497ffa57c012f3ee6 SHA1 a3cc522020773ce48aabf27f512d279aa1795548 SHA256 0998d9f89e0b84e53efb16a70fdc8c4a7f2ac0f700e9f8502fb53c1d8dd89388 MD5 aaac0d487788ab74f26c127a713923a0 files/swi-prolog-test_date.patch 4324 RMD160 998a7451af5f0de4a73f7f6497ffa57c012f3ee6 files/swi-prolog-test_date.patch 4324 @@ -187,14 +191,14 @@ EBUILD swi-prolog-5.6.24.ebuild 3427 RMD160 b56ed79ceea825b2ad4e923dab90c0513ddd MD5 171154881ffaef618a019afe1f33a652 swi-prolog-5.6.24.ebuild 3427 RMD160 b56ed79ceea825b2ad4e923dab90c0513ddd8b66 swi-prolog-5.6.24.ebuild 3427 SHA256 7fb1f5e52fbdc6559a438b25ae11aedf0864319667d3754f6734febd62579b11 swi-prolog-5.6.24.ebuild 3427 -EBUILD swi-prolog-5.6.25.ebuild 3609 RMD160 3da98d00a33cbb7d532355532f62e188a12cadcf SHA1 7091e00dd6216fbdad00d17cf3f4c3eda8cd709e SHA256 ab61db190dc286b3dc8187b4963303ae45c393e4ae6b00ca62641bbcc6827ae6 -MD5 ee73a89b5cff9c8d28b6ab326bd95119 swi-prolog-5.6.25.ebuild 3609 -RMD160 3da98d00a33cbb7d532355532f62e188a12cadcf swi-prolog-5.6.25.ebuild 3609 -SHA256 ab61db190dc286b3dc8187b4963303ae45c393e4ae6b00ca62641bbcc6827ae6 swi-prolog-5.6.25.ebuild 3609 -MISC ChangeLog 10930 RMD160 20287654d6dcc4b37dd3e48b19fc4bd9757a11ac SHA1 1fc5f5dce9eb211cad2873392e60c531be122c86 SHA256 38a8988edd4b56943aa4211eb03282a1253b2b9be933b182097556b7d609b904 -MD5 fe286836d70d68b881a74e1e5c7f0a64 ChangeLog 10930 -RMD160 20287654d6dcc4b37dd3e48b19fc4bd9757a11ac ChangeLog 10930 -SHA256 38a8988edd4b56943aa4211eb03282a1253b2b9be933b182097556b7d609b904 ChangeLog 10930 +EBUILD swi-prolog-5.6.25.ebuild 3663 RMD160 131840c30d18d963540a6a408692a1e12896f975 SHA1 c18ce4e0a904ef36ee10a752484fd6d63685e52a SHA256 10a832902aef08e8cf40794514b348118c10ddcba2d92355daeaef77342ac9f5 +MD5 f294d51bf1eede387b9b24f566b77f95 swi-prolog-5.6.25.ebuild 3663 +RMD160 131840c30d18d963540a6a408692a1e12896f975 swi-prolog-5.6.25.ebuild 3663 +SHA256 10a832902aef08e8cf40794514b348118c10ddcba2d92355daeaef77342ac9f5 swi-prolog-5.6.25.ebuild 3663 +MISC ChangeLog 11100 RMD160 0f156c4d80ab3e56ab5785cd20281cb4b46a3210 SHA1 1c3414d746ef636bca68b086090b55c7031629dd SHA256 fe852299ce03af3f4dcd2df69f797e6b4b1d85293fb14a3bd5830a291e17085f +MD5 dfe1a54cd2540d5cf32f7d312dc4068b ChangeLog 11100 +RMD160 0f156c4d80ab3e56ab5785cd20281cb4b46a3210 ChangeLog 11100 +SHA256 fe852299ce03af3f4dcd2df69f797e6b4b1d85293fb14a3bd5830a291e17085f ChangeLog 11100 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-ssl-SIO_FLUSHOUTPUT.patch b/dev-lang/swi-prolog/files/swi-prolog-ssl-SIO_FLUSHOUTPUT.patch new file mode 100644 index 000000000000..4755ceeac9fa --- /dev/null +++ b/dev-lang/swi-prolog/files/swi-prolog-ssl-SIO_FLUSHOUTPUT.patch @@ -0,0 +1,11 @@ +--- pl-5.6.25.orig/packages/ssl/ssl4pl.c 2006-11-11 03:48:31.000000000 +1300 ++++ pl-5.6.25/packages/ssl/ssl4pl.c 2007-01-01 16:33:49.000000000 +1300 +@@ -540,6 +540,8 @@ + *p = instance->sock; + return 0; + } ++ case SIO_FLUSHOUTPUT: ++ return 0; + default: + return -1; + } diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.25.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.25.ebuild index c2fd0db0ee18..4a617a5791e5 100644 --- a/dev-lang/swi-prolog/swi-prolog-5.6.25.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-5.6.25.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# 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.25.ebuild,v 1.1 2006/12/29 21:19:41 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.25.ebuild,v 1.2 2007/01/01 05:01:30 keri Exp $ inherit eutils @@ -50,6 +50,7 @@ src_unpack() { epatch "${FILESDIR}"/${PN}-jpl-check_java.patch epatch "${FILESDIR}"/${PN}-ltx2htm.patch epatch "${FILESDIR}"/${PN}-SGML_CATALOG_FILES.patch + epatch "${FILESDIR}"/${PN}-ssl-SIO_FLUSHOUTPUT.patch epatch "${FILESDIR}"/${PN}-thread-tests.patch epatch "${FILESDIR}"/${PN}-xpce-parallel-build.patch epatch "${FILESDIR}"/${PN}-xpce-test-r1.patch -- 2.26.2