View | Details | Raw Unified | Return to bug 223781 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/bsd.ruby.mk (-3 / +3 lines)
Lines 155-161 Link Here
155
# Ruby 2.2
155
# Ruby 2.2
156
#
156
#
157
RUBY_RELVERSION=	2.2.8
157
RUBY_RELVERSION=	2.2.8
158
RUBY_PORTREVISION=	0
158
RUBY_PORTREVISION=	1
159
RUBY_PORTEPOCH=		1
159
RUBY_PORTEPOCH=		1
160
RUBY_PATCHLEVEL=	0
160
RUBY_PATCHLEVEL=	0
161
RUBY22=			""	# PLIST_SUB helpers
161
RUBY22=			""	# PLIST_SUB helpers
Lines 165-171 Link Here
165
# Ruby 2.3
165
# Ruby 2.3
166
#
166
#
167
RUBY_RELVERSION=	2.3.5
167
RUBY_RELVERSION=	2.3.5
168
RUBY_PORTREVISION=	0
168
RUBY_PORTREVISION=	1
169
RUBY_PORTEPOCH=		1
169
RUBY_PORTEPOCH=		1
170
RUBY_PATCHLEVEL=	0
170
RUBY_PATCHLEVEL=	0
171
RUBY23=			""	# PLIST_SUB helpers
171
RUBY23=			""	# PLIST_SUB helpers
Lines 175-181 Link Here
175
# Ruby 2.4
175
# Ruby 2.4
176
#
176
#
177
RUBY_RELVERSION=	2.4.2
177
RUBY_RELVERSION=	2.4.2
178
RUBY_PORTREVISION=	0
178
RUBY_PORTREVISION=	1
179
RUBY_PORTEPOCH=		1
179
RUBY_PORTEPOCH=		1
180
RUBY_PATCHLEVEL=	0
180
RUBY_PATCHLEVEL=	0
181
RUBY24=			""	# PLIST_SUB helpers
181
RUBY24=			""	# PLIST_SUB helpers
(-)lang/ruby22/files/patch-lib_rdoc_generator_json_index.rb (+20 lines)
Line 0 Link Here
1
--- ./lib/rdoc/generator/json_index.rb.orig	2017-11-12 19:41:46.332613000 -0500
2
+++ ./lib/rdoc/generator/json_index.rb	2017-11-12 19:41:56.834004000 -0500
3
@@ -169,7 +169,7 @@
4
     debug_msg "Writing gzipped search index to %s" % outfile
5
 
6
     Zlib::GzipWriter.open(outfile) do |gz|
7
-      gz.mtime = File.mtime(search_index_file)
8
+      gz.mtime = 1
9
       gz.orig_name = search_index_file.to_s
10
       gz.write search_index
11
       gz.close
12
@@ -187,7 +187,7 @@
13
         debug_msg "Writing gzipped file to %s" % outfile
14
 
15
         Zlib::GzipWriter.open(outfile) do |gz|
16
-          gz.mtime = File.mtime(dest)
17
+          gz.mtime = 1
18
           gz.orig_name = dest.to_s
19
           gz.write data
20
           gz.close
(-)lang/ruby23/files/patch-lib_rdoc_generator_json_index.rb (+20 lines)
Line 0 Link Here
1
--- ./lib/rdoc/generator/json_index.rb.orig	2017-11-12 19:38:46.598341000 -0500
2
+++ ./lib/rdoc/generator/json_index.rb	2017-11-12 19:38:59.759125000 -0500
3
@@ -175,7 +175,7 @@
4
     debug_msg "Writing gzipped search index to %s" % outfile
5
 
6
     Zlib::GzipWriter.open(outfile) do |gz|
7
-      gz.mtime = File.mtime(search_index_file)
8
+      gz.mtime = 1
9
       gz.orig_name = search_index_file.basename.to_s
10
       gz.write search_index
11
       gz.close
12
@@ -193,7 +193,7 @@
13
         debug_msg "Writing gzipped file to %s" % outfile
14
 
15
         Zlib::GzipWriter.open(outfile) do |gz|
16
-          gz.mtime = File.mtime(dest)
17
+          gz.mtime = 1
18
           gz.orig_name = dest.basename.to_s
19
           gz.write data
20
           gz.close
(-)lang/ruby24/files/patch-lib_rdoc_generator_json_index.rb (+20 lines)
Line 0 Link Here
1
--- ./lib/rdoc/generator/json_index.rb.orig	2017-11-12 19:37:25.144883000 -0500
2
+++ ./lib/rdoc/generator/json_index.rb	2017-11-12 19:37:44.551836000 -0500
3
@@ -175,7 +175,7 @@
4
     debug_msg "Writing gzipped search index to %s" % outfile
5
 
6
     Zlib::GzipWriter.open(outfile) do |gz|
7
-      gz.mtime = File.mtime(search_index_file)
8
+      gz.mtime = 1
9
       gz.orig_name = search_index_file.basename.to_s
10
       gz.write search_index
11
       gz.close
12
@@ -193,7 +193,7 @@
13
         debug_msg "Writing gzipped file to %s" % outfile
14
 
15
         Zlib::GzipWriter.open(outfile) do |gz|
16
-          gz.mtime = File.mtime(dest)
17
+          gz.mtime = 1
18
           gz.orig_name = dest.basename.to_s
19
           gz.write data
20
           gz.close

Return to bug 223781