diff options
author | lev <lev@FreeBSD.org> | 2007-07-18 16:55:11 +0800 |
---|---|---|
committer | lev <lev@FreeBSD.org> | 2007-07-18 16:55:11 +0800 |
commit | 66aaac8a35b5e2becc82f1a4c95d78106b43e9d2 (patch) | |
tree | 79d64e51eb757ed1e9e145468f7f8308938f829f /russian/apache13 | |
parent | 33524af5d69c106cadf9ec42347fab1be320d3d2 (diff) | |
download | freebsd-ports-gnome-66aaac8a35b5e2becc82f1a4c95d78106b43e9d2.tar.gz freebsd-ports-gnome-66aaac8a35b5e2becc82f1a4c95d78106b43e9d2.tar.zst freebsd-ports-gnome-66aaac8a35b5e2becc82f1a4c95d78106b43e9d2.zip |
Fix building on FreeBSD-7, with gcc 4.2.0
Diffstat (limited to 'russian/apache13')
-rw-r--r-- | russian/apache13/Makefile | 2 | ||||
-rw-r--r-- | russian/apache13/files/patch-src--modules--extra--mod_charset.c | 20 |
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) |