summaryrefslogtreecommitdiff
path: root/russian
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2007-07-18 08:55:11 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2007-07-18 08:55:11 +0000
commit6d60e699c631c2bdf48b5f8dd8f8f3931c24a715 (patch)
treeffa5344b9bb51442ca9f4921fe9e741857bf3093 /russian
parent Source tarball was replaced by author. (diff)
Fix building on FreeBSD-7, with gcc 4.2.0
Notes
Notes: svn path=/head/; revision=195837
Diffstat (limited to 'russian')
-rw-r--r--russian/apache13/Makefile2
-rw-r--r--russian/apache13/files/patch-src--modules--extra--mod_charset.c20
2 files changed, 21 insertions, 1 deletions
diff --git a/russian/apache13/Makefile b/russian/apache13/Makefile
index f1227416a53e..00c2e772f862 100644
--- a/russian/apache13/Makefile
+++ b/russian/apache13/Makefile
@@ -7,7 +7,7 @@
PORTNAME= apache
PORTVERSION= ${APACHE_VERSION}+${RA_VERSION}
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= russian www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
DISTNAME= ${PORTNAME}_${APACHE_VERSION}
diff --git a/russian/apache13/files/patch-src--modules--extra--mod_charset.c b/russian/apache13/files/patch-src--modules--extra--mod_charset.c
new file mode 100644
index 000000000000..333093a1ba25
--- /dev/null
+++ b/russian/apache13/files/patch-src--modules--extra--mod_charset.c
@@ -0,0 +1,20 @@
+--- src/modules/extra/mod_charset.c.orig 2007-07-12 07:51:10.000000000 +0400
++++ src/modules/extra/mod_charset.c 2007-07-12 07:53:36.000000000 +0400
+@@ -1201,6 +1201,8 @@
+
+ #endif
+
++#if ! defined(__FreeBSD_cc_version) || __FreeBSD_cc_version < 700003
++
+ /*
+ Case-insensitive strstr()
+ */
+@@ -1227,7 +1229,7 @@
+
+ }
+
+-
++#endif
+
+ static void
+ add_redirect_to_table(array_header *h, charset_redirect_t *rd)