[DRE-commits] [ruby-nokogiri] 01/02: add deactivate_test_reader_blocking.patch, fix kfreebsd build

Cédric Boutillier boutil at alioth.debian.org
Mon Sep 9 07:51:45 UTC 2013


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-nokogiri.

commit df181abf233a26540b904b412221cb124f3b3f3a
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Sep 3 01:18:37 2013 +0200

    add deactivate_test_reader_blocking.patch, fix kfreebsd build
---
 debian/changelog                                     |    7 +++++++
 debian/patches/deactivate_test_reader_blocking.patch |   18 ++++++++++++++++++
 debian/patches/series                                |    1 +
 3 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 22caf86..217d0a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-nokogiri (1.5.9-3) unstable; urgency=low
+
+  * add deactivate_test_reader_blocking.patch, deactivating a test hanging on
+    kFreeBSD ports
+
+ -- Cédric Boutillier <boutil at debian.org>  Tue, 03 Sep 2013 01:14:52 +0200
+
 ruby-nokogiri (1.5.9-2) unstable; urgency=low
 
   * Do not exclude test/xml/test_xinclude.rb from tests anymore
diff --git a/debian/patches/deactivate_test_reader_blocking.patch b/debian/patches/deactivate_test_reader_blocking.patch
new file mode 100644
index 0000000..681525d
--- /dev/null
+++ b/debian/patches/deactivate_test_reader_blocking.patch
@@ -0,0 +1,18 @@
+Description: deactivate reader_blocking test, hanging on kFreeBSD ports
+Author: Cédric Boutillier <boutil at debian.org>
+Origin: vendor
+Bug: https://github.com/sparklemotion/nokogiri/issues/965
+Last-Update: 2013-09-03
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/test/test_reader.rb
++++ b/test/test_reader.rb
+@@ -36,7 +36,7 @@
+ 
+   # Issue #831
+   # Make sure that the reader doesn't block reading the entire input
+-  def test_reader_blocking
++  def _test_reader_blocking
+     rd, wr = IO.pipe()
+     node_out = nil
+     t = Thread.start do
diff --git a/debian/patches/series b/debian/patches/series
index 6a29ff6..44ad847 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ no-require-rubygems.patch
 fix_tests_assert_match.patch
 minitest5_support.patch
 skip_test_reader_entity_reference_without_dtdload.patch
+deactivate_test_reader_blocking.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-nokogiri.git



More information about the Pkg-ruby-extras-commits mailing list