Skip to content

Commit 1c72cbf

Browse files
committed
refresh patches
1 parent e988a0c commit 1c72cbf

10 files changed

+31
-168
lines changed

debian/patches/0001-rdoc-build-reproducible-documentation.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Signed-off-by: Christian Hofstaedtler <[email protected]>
1313
2 files changed, 3 insertions(+), 3 deletions(-)
1414

1515
diff --git a/lib/rdoc/generator/json_index.rb b/lib/rdoc/generator/json_index.rb
16-
index e4cfe96..bcf5b00 100644
16+
index 3a10000..f40bb37 100644
1717
--- a/lib/rdoc/generator/json_index.rb
1818
+++ b/lib/rdoc/generator/json_index.rb
19-
@@ -175,7 +175,7 @@ def generate_gzipped
19+
@@ -178,7 +178,7 @@ def generate_gzipped
2020
debug_msg "Writing gzipped search index to %s" % outfile
2121

2222
Zlib::GzipWriter.open(outfile) do |gz|
@@ -25,7 +25,7 @@ index e4cfe96..bcf5b00 100644
2525
gz.orig_name = search_index_file.basename.to_s
2626
gz.write search_index
2727
gz.close
28-
@@ -193,7 +193,7 @@ def generate_gzipped
28+
@@ -196,7 +196,7 @@ def generate_gzipped
2929
debug_msg "Writing gzipped file to %s" % outfile
3030

3131
Zlib::GzipWriter.open(outfile) do |gz|
@@ -35,10 +35,10 @@ index e4cfe96..bcf5b00 100644
3535
gz.write data
3636
gz.close
3737
diff --git a/lib/rdoc/rdoc.rb b/lib/rdoc/rdoc.rb
38-
index 68775c8..9cc583f 100644
38+
index ca2c1ab..b387287 100644
3939
--- a/lib/rdoc/rdoc.rb
4040
+++ b/lib/rdoc/rdoc.rb
41-
@@ -315,7 +315,7 @@ def normalized_file_list(relative_files, force_doc = false,
41+
@@ -312,7 +312,7 @@ def normalized_file_list(relative_files, force_doc = false,
4242
end
4343
end
4444

debian/patches/0002-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ Signed-off-by: Reiner Herrmann <[email protected]>
1414
1 file changed, 1 insertion(+), 1 deletion(-)
1515

1616
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
17-
index 74b4228..ae77bb4 100644
17+
index 0d9d3d9..3a18be8 100644
1818
--- a/lib/mkmf.rb
1919
+++ b/lib/mkmf.rb
20-
@@ -2284,7 +2284,7 @@ def create_makefile(target, srcprefix = nil)
20+
@@ -2297,7 +2297,7 @@ def create_makefile(target, srcprefix = nil)
2121
LIBS = #{$LIBRUBYARG} #{$libs} #{$LIBS}
2222
ORIG_SRCS = #{orig_srcs.collect(&File.method(:basename)).join(' ')}
2323
SRCS = $(ORIG_SRCS) #{(srcs - orig_srcs).collect(&File.method(:basename)).join(' ')}

debian/patches/0003-Mark-Gemspec-reproducible-change-fixing-784225-too.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Signed-off-by: Christian Hofstaedtler <[email protected]>
1212
1 file changed, 3 insertions(+), 1 deletion(-)
1313

1414
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
15-
index 2560324..07fdd30 100644
15+
index bba3ffe..f6f0326 100644
1616
--- a/lib/rubygems/specification.rb
1717
+++ b/lib/rubygems/specification.rb
18-
@@ -1787,7 +1787,9 @@ def date= date
18+
@@ -1760,7 +1760,9 @@ def date=(date)
1919
raise(Gem::InvalidSpecificationException,
2020
"invalid date format in specification: #{date.inspect}")
2121
end

debian/patches/0004-Make-gemspecs-reproducible.patch

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ build unreproducible
1313
5 files changed, 5 insertions(+), 1 deletion(-)
1414

1515
diff --git a/ext/bigdecimal/bigdecimal.gemspec b/ext/bigdecimal/bigdecimal.gemspec
16-
index c8c9087..9cf22f7 100644
16+
index 68d8f3c..c73fefe 100644
1717
--- a/ext/bigdecimal/bigdecimal.gemspec
1818
+++ b/ext/bigdecimal/bigdecimal.gemspec
1919
@@ -6,6 +6,7 @@
@@ -37,7 +37,7 @@ index b29f4ec..36ed213 100644
3737
3838

3939
diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
40-
index 822d3eb..18d2887 100644
40+
index 02da13f..353b559 100644
4141
--- a/ext/io/console/io-console.gemspec
4242
+++ b/ext/io/console/io-console.gemspec
4343
@@ -5,7 +5,7 @@
@@ -50,19 +50,19 @@ index 822d3eb..18d2887 100644
5050
s.email = "[email protected]"
5151
s.description = "add console capabilities to IO instances."
5252
diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec
53-
index 16df170..433e43b 100644
53+
index 2de9ef4..9c27ab8 100644
5454
--- a/lib/ipaddr.gemspec
5555
+++ b/lib/ipaddr.gemspec
56-
@@ -5,6 +5,7 @@
56+
@@ -6,6 +6,7 @@
5757
Gem::Specification.new do |spec|
5858
spec.name = "ipaddr"
59-
spec.version = "1.2.0"
60-
+ spec.date = RUBY_RELEASE_DATE
59+
spec.version = "1.2.2"
60+
+ spec.date = RUBY_RELEASE_DATE
6161
spec.authors = ["Akinori MUSHA", "Hajimu UMEMOTO"]
6262
6363

6464
diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec
65-
index 8c92908..0e6c0c7 100644
65+
index 9c6fbe1..de748ed 100644
6666
--- a/lib/rdoc/rdoc.gemspec
6767
+++ b/lib/rdoc/rdoc.gemspec
6868
@@ -7,6 +7,7 @@
@@ -71,5 +71,5 @@ index 8c92908..0e6c0c7 100644
7171
s.name = "rdoc"
7272
+ s.date = RUBY_RELEASE_DATE
7373
s.version = RDoc::VERSION
74-
s.date = "2017-12-24"
7574

75+
s.authors = [

debian/patches/0006-exclude-several-tests-unstable-in-Docker.patch renamed to debian/patches/0005-exclude-several-tests-unstable-in-Docker.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ Subject: exclude several tests unstable in Docker
77
1 file changed, 1 insertion(+)
88

99
diff --git a/test/dtrace/helper.rb b/test/dtrace/helper.rb
10-
index 5828bcd..f38f052 100644
10+
index 023d116..500da5d 100644
1111
--- a/test/dtrace/helper.rb
1212
+++ b/test/dtrace/helper.rb
13-
@@ -21,6 +21,7 @@
14-
end
13+
@@ -53,6 +53,7 @@
14+
cmd = false
1515
end
16-
ok &= (`dtrace -V` rescue false)
16+
ok &= system(*cmd, err: IO::NULL, out: IO::NULL) if cmd
1717
+ok = false # Doesn't work properly inside Docker build
18+
1819
module DTrace
1920
class TestCase < Test::Unit::TestCase
20-
INCLUDE = File.expand_path('..', File.dirname(__FILE__))

debian/patches/0005-ia64-update-ia64-specific-code-to-use-execution-cont.patch

Lines changed: 0 additions & 63 deletions
This file was deleted.

debian/patches/0006-Fix-FTBFS-on-hurd.patch

Lines changed: 0 additions & 29 deletions
This file was deleted.

debian/patches/0007-Port-to-kfreebsd-amd64.patch renamed to debian/patches/0006-Port-to-kfreebsd-amd64.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Signed-off-by: Svante Signell <[email protected]>
1414
4 files changed, 26 insertions(+), 2 deletions(-)
1515

1616
diff --git a/ext/socket/option.c b/ext/socket/option.c
17-
index bf3af17..8fa2932 100644
17+
index 5ad44cd..87ddbc9 100644
1818
--- a/ext/socket/option.c
1919
+++ b/ext/socket/option.c
2020
@@ -10,6 +10,7 @@ VALUE rb_cSockOpt;
@@ -26,7 +26,7 @@ index bf3af17..8fa2932 100644
2626
defined(__APPLE__) || \
2727
defined(_WIN32) || \
2828
diff --git a/ext/socket/raddrinfo.c b/ext/socket/raddrinfo.c
29-
index dcabb20..595bb5f 100644
29+
index 4c6a9b5..a432553 100644
3030
--- a/ext/socket/raddrinfo.c
3131
+++ b/ext/socket/raddrinfo.c
3232
@@ -1670,10 +1670,21 @@ addrinfo_mload(VALUE self, VALUE ary)
@@ -74,18 +74,18 @@ index dcabb20..595bb5f 100644
7474
e--;
7575
return rb_str_new(s, e-s);
7676
diff --git a/test/fiddle/test_handle.rb b/test/fiddle/test_handle.rb
77-
index 77559eb..040b16c 100644
77+
index c0fac39..3187800 100644
7878
--- a/test/fiddle/test_handle.rb
7979
+++ b/test/fiddle/test_handle.rb
80-
@@ -169,6 +169,7 @@ def test_DEFAULT
80+
@@ -173,6 +173,7 @@ def test_DEFAULT
8181
end unless /mswin|mingw/ =~ RUBY_PLATFORM
8282

8383
def test_dlerror
8484
+ return if /kfreebsd/ =~ RUBY_PLATFORM
8585
# FreeBSD (at least 7.2 to 7.2) calls nsdispatch(3) when it calls
8686
# getaddrinfo(3). And nsdispatch(3) doesn't call dlerror(3) even if
8787
# it calls _nss_cache_cycle_prevention_function with dlsym(3).
88-
@@ -177,7 +178,7 @@ def test_dlerror
88+
@@ -181,7 +182,7 @@ def test_dlerror
8989
require 'socket'
9090
Socket.gethostbyname("localhost")
9191
Fiddle.dlopen("/lib/libc.so.7").sym('strcpy')
@@ -95,10 +95,10 @@ index 77559eb..040b16c 100644
9595
def test_no_memory_leak
9696
assert_no_memory_leak(%w[-W0 -rfiddle.so], '', '100_000.times {Fiddle::Handle.allocate}; GC.start', rss: true)
9797
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
98-
index 126f789..f2d350d 100644
98+
index e07c1d6..88614cb 100644
9999
--- a/test/socket/test_socket.rb
100100
+++ b/test/socket/test_socket.rb
101-
@@ -507,7 +507,7 @@ def test_timestampns
101+
@@ -521,7 +521,7 @@ def test_timestampns
102102
end
103103

104104
def test_bintime

debian/patches/0009-Update-for-tzdata-2018f-r65365.patch

Lines changed: 0 additions & 42 deletions
This file was deleted.

debian/patches/series

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,5 @@
22
0002-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
33
0003-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
44
0004-Make-gemspecs-reproducible.patch
5-
0005-ia64-update-ia64-specific-code-to-use-execution-cont.patch
6-
0006-exclude-several-tests-unstable-in-Docker.patch
7-
0006-Fix-FTBFS-on-hurd.patch
8-
0007-Port-to-kfreebsd-amd64.patch
9-
0009-Update-for-tzdata-2018f-r65365.patch
5+
0005-exclude-several-tests-unstable-in-Docker.patch
6+
0006-Port-to-kfreebsd-amd64.patch

0 commit comments

Comments
 (0)