diff options
Diffstat (limited to 'www/ap-ruby/patches')
-rw-r--r-- | www/ap-ruby/patches/patch-aa | 42 | ||||
-rw-r--r-- | www/ap-ruby/patches/patch-ac | 15 | ||||
-rw-r--r-- | www/ap-ruby/patches/patch-doc_Makefile.in | 21 |
3 files changed, 0 insertions, 78 deletions
diff --git a/www/ap-ruby/patches/patch-aa b/www/ap-ruby/patches/patch-aa deleted file mode 100644 index 7b561eb11e0..00000000000 --- a/www/ap-ruby/patches/patch-aa +++ /dev/null @@ -1,42 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2010/09/10 10:50:27 taca Exp $ - -* Use vendor directory. -* $XLDFLAGS might be nil, so care for it. - ---- configure.rb.orig 2008-11-08 04:15:36.000000000 +0000 -+++ configure.rb -@@ -1,4 +1,4 @@ --#!/usr/bin/env ruby -+#!/usr/pkg/bin/ruby - - # Generated automatically using autoconf.rb version 0.2.4 - -@@ -222,6 +222,7 @@ $bindir = CONFIG["bindir"].sub(prefix, " - $datadir = CONFIG["datadir"].sub(prefix, "$(prefix)").sub(drive, '') - $libdir = CONFIG["libdir"].sub(prefix, "$(exec_prefix)").sub(drive, '') - $archdir = $archdir.sub(prefix, "$(prefix)").sub(drive, '') -+$sitedir = $vendordir - $sitelibdir = $sitelibdir.sub(prefix, "$(prefix)").sub(drive, '') - $sitearchdir = $sitearchdir.sub(prefix, "$(prefix)").sub(drive, '') - $includedir = CONFIG["includedir"].sub(prefix, "$(prefix)").sub(drive, '') -@@ -329,11 +330,15 @@ if $LDFLAGS.to_s.empty? && /mswin32/ =~ - end - $LIBS = CONFIG["LIBS"] - $XLDFLAGS = CONFIG["XLDFLAGS"].to_s --$XLDFLAGS.gsub!(/-L\./, "") --if /mswin32/ !~ RUBY_PLATFORM -- $XLDFLAGS += " -L$(libdir)" --elsif RUBY_VERSION >= "1.8" -- $XLDFLAGS += " #{CONFIG['LIBPATHFLAG'] % '$(libdir)'}" -+if $XLDFLAGS.nil? -+ $XLDFLAGS = '' -+else -+ $XLDFLAGS.gsub!(/-L\./, "") -+ if /mswin32/ !~ RUBY_PLATFORM -+ $XLDFLAGS += " -L$(libdir)" -+ elsif RUBY_VERSION >= "1.8" -+ $XLDFLAGS += " #{CONFIG['LIBPATHFLAG'] % '$(libdir)'}" -+ end - end - $DLDFLAGS = CONFIG["DLDFLAGS"] - $LDSHARED = CONFIG["LDSHARED"] diff --git a/www/ap-ruby/patches/patch-ac b/www/ap-ruby/patches/patch-ac deleted file mode 100644 index e9c34a36f3a..00000000000 --- a/www/ap-ruby/patches/patch-ac +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ac,v 1.2 2010/09/10 10:50:27 taca Exp $ - -cast before pass to tolower(). - ---- apache_request.c.orig 2004-09-24 03:43:18.000000000 +0900 -+++ apache_request.c -@@ -230,7 +230,7 @@ static unsigned int utf8_convert(char *s - x = x * 16 + str[i] - '0'; - } - else { -- str[i] = tolower( str[i] ); -+ str[i] = tolower((unsigned int)str[i] ); - x = x * 16 + str[i] - 'a' + 10; - } - } diff --git a/www/ap-ruby/patches/patch-doc_Makefile.in b/www/ap-ruby/patches/patch-doc_Makefile.in deleted file mode 100644 index 3199dccfc64..00000000000 --- a/www/ap-ruby/patches/patch-doc_Makefile.in +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-doc_Makefile.in,v 1.1 2015/06/14 00:40:30 taca Exp $ - -Do not hard cord rd2. - ---- doc/Makefile.in.orig 2004-07-01 03:49:24.000000000 +0000 -+++ doc/Makefile.in -@@ -15,12 +15,12 @@ HTMLS = $(EN_HTMLS) $(JA_HTMLS) - .SUFFIXES: .en.rd .ja.euc.rd .en.html .ja.jis.html - - .en.rd.en.html: -- $(RUBY) -Kn -S rd2 -r rd/rd2html-lib \ -+ $(RUBY) -Kn @RUBY_RD@ -r rd/rd2html-lib \ - --with-css=default.css \ - $< > $@ - - .ja.euc.rd.ja.jis.html: -- $(RUBY) -Ke -S rd2 -r rd/rd2html-lib \ -+ $(RUBY) -Ke @RUBY_RD@ -r rd/rd2html-lib \ - --with-css=default.css --out-code=jis \ - $< > $@ - |