forked from Lainports/freebsd-ports
Fix building on FreeBSD-7, with gcc 4.2.0
This commit is contained in:
parent
6d60e699c6
commit
4d03875cc6
2 changed files with 21 additions and 1 deletions
|
|
@ -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/} \
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
Loading…
Add table
Reference in a new issue