diff options
author | Lev A. Serebryakov <lev@FreeBSD.org> | 2007-07-18 09:01:18 +0000 |
---|---|---|
committer | Lev A. Serebryakov <lev@FreeBSD.org> | 2007-07-18 09:01:18 +0000 |
commit | 4d03875cc6d8b0ccbdc5e4eab725eebee0b8cd30 (patch) | |
tree | 2dadb319aaa50a189eec22e9e8929b0db9bf15b0 /russian/apache13-modssl | |
parent | 6d60e699c631c2bdf48b5f8dd8f8f3931c24a715 (diff) | |
download | ports-4d03875cc6d8b0ccbdc5e4eab725eebee0b8cd30.tar.gz ports-4d03875cc6d8b0ccbdc5e4eab725eebee0b8cd30.zip |
Fix building on FreeBSD-7, with gcc 4.2.0
Notes
Notes:
svn path=/head/; revision=195838
Diffstat (limited to 'russian/apache13-modssl')
-rw-r--r-- | russian/apache13-modssl/Makefile | 2 | ||||
-rw-r--r-- | russian/apache13-modssl/files/patch-src--modules--extra--mod_charset.c | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/russian/apache13-modssl/Makefile b/russian/apache13-modssl/Makefile index 6abecd28df6d..62b75f9a859d 100644 --- a/russian/apache13-modssl/Makefile +++ b/russian/apache13-modssl/Makefile @@ -7,7 +7,7 @@ PORTNAME= apache+mod_ssl PORTVERSION= ${VERSION_APACHE}+${VERSION_RA}+${VERSION_MODSSL} -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= russian www security MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \ ${MASTER_SITES_MODSSL:S/$/:modssl/} \ diff --git a/russian/apache13-modssl/files/patch-src--modules--extra--mod_charset.c b/russian/apache13-modssl/files/patch-src--modules--extra--mod_charset.c new file mode 100644 index 000000000000..333093a1ba25 --- /dev/null +++ b/russian/apache13-modssl/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) |