public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/gauche/files/, dev-scheme/gauche/
Date: Tue, 29 Nov 2016 10:48:45 +0000 (UTC)	[thread overview]
Message-ID: <1480416511.5d83e860ea62e3fb89adf982df0c03c81d2df1ea.hattya@gentoo> (raw)

commit:     5d83e860ea62e3fb89adf982df0c03c81d2df1ea
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 29 10:48:31 2016 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Tue Nov 29 10:48:31 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d83e860

dev-scheme/gauche: fix tests

Package-Manager: portage-2.3.0

 dev-scheme/gauche/files/gauche-0.9-rfc.tls.patch    |  5 +++--
 .../gauche/files/gauche-0.9.3.3-file.util.patch     | 21 +++++++++++++++++++++
 dev-scheme/gauche/gauche-0.9.3.3.ebuild             |  1 +
 3 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/dev-scheme/gauche/files/gauche-0.9-rfc.tls.patch b/dev-scheme/gauche/files/gauche-0.9-rfc.tls.patch
index 662ab43..0bce39a 100644
--- a/dev-scheme/gauche/files/gauche-0.9-rfc.tls.patch
+++ b/dev-scheme/gauche/files/gauche-0.9-rfc.tls.patch
@@ -1,11 +1,12 @@
 --- Gauche-0.9.3.2.orig/ext/tls/Makefile.in
 +++ Gauche-0.9.3.2/ext/tls/Makefile.in
-@@ -77,6 +77,8 @@
+@@ -77,6 +77,9 @@
  	@sed -e "s@\.\./ssl/@../../$(srcdir)/axTLS/ssl/@g" \
               -e "s/system/safe_system/g" \
               -e "s@openssl @sh ../../$(srcdir)/kick_openssl @g" \
 +             -e "/do_reneg = 1;/i#if 0" \
-+             -e "/do_reneg = 0;/a#endif"  \
++             -e "/do_reneg = 0;/a#endif" \
++             -e "/SSL_server_test(/,/)/s/ -tls1//" \
               $(srcdir)/axTLS/ssl/test/ssltest.c >> $(SSLTEST_GENERATED)
  	@cat $(srcdir)/system-fix.c >> $(SSLTEST_GENERATED)
  

diff --git a/dev-scheme/gauche/files/gauche-0.9.3.3-file.util.patch b/dev-scheme/gauche/files/gauche-0.9.3.3-file.util.patch
new file mode 100644
index 00000000..1e4cd5d
--- /dev/null
+++ b/dev-scheme/gauche/files/gauche-0.9.3.3-file.util.patch
@@ -0,0 +1,21 @@
+commit 15fb279dccb83d66d7e866a0e6f4e3f9ff64fd8d
+Author: Shiro Kawai <shiro@acm.org>
+Date:   Thu Nov 29 23:17:55 2012 -1000
+
+    Fix file.util test
+
+    The current test may fail when a size of a directory happens to
+    100.  Patch from NIIBE Yutaka.
+
+--- a/ext/file/test.scm
++++ b/ext/file/test.scm
+@@ -290,7 +290,8 @@
+          (reverse
+           (directory-fold "test.out"
+                           (^[path result]
+-                            (if (= (file-size path) 100)
++                            (if (and (file-is-regular? path)
++				     (= (file-size path) 100))
+                                 (cons path result)
+                                 result))
+                           '()

diff --git a/dev-scheme/gauche/gauche-0.9.3.3.ebuild b/dev-scheme/gauche/gauche-0.9.3.3.ebuild
index 675346c..5ccedde 100644
--- a/dev-scheme/gauche/gauche-0.9.3.3.ebuild
+++ b/dev-scheme/gauche/gauche-0.9.3.3.ebuild
@@ -29,6 +29,7 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-0.9-xz-info.patch
 	"${FILESDIR}"/${PN}-0.9-rfc.tls.patch
 	"${FILESDIR}"/${P}-gauche.threads.patch
+	"${FILESDIR}"/${P}-file.util.patch
 )
 
 src_prepare() {


             reply	other threads:[~2016-11-29 10:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-29 10:48 Akinori Hattori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-07-11 13:42 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/gauche/files/, dev-scheme/gauche/ Akinori Hattori
2019-09-27 14:37 Akinori Hattori
2019-09-27 14:56 Akinori Hattori
2021-01-26 14:47 Akinori Hattori
2021-02-14 14:20 Akinori Hattori
2021-10-11 12:54 Akinori Hattori
2022-06-20 12:56 Akinori Hattori
2024-02-11  6:40 Akinori Hattori
2024-05-12  6:29 Akinori Hattori
2024-07-21  8:51 Akinori Hattori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1480416511.5d83e860ea62e3fb89adf982df0c03c81d2df1ea.hattya@gentoo \
    --to=hattya@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox