1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Compile with -funsigned-char instead of (unsigned char) cast

and not replace Apache functions now
This commit is contained in:
Andrey A. Chernov 1997-10-23 16:40:02 +00:00
parent f5b49da05b
commit d7422c6406
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8345
10 changed files with 0 additions and 265 deletions

View File

@ -17,8 +17,6 @@ MAINTAINER= ache@freebsd.org
# VERS_ID = mods-1.0/me
post-patch:
@cp /usr/include/md5.h ${WRKSRC}/src/main/freebsd_md5.h
@cp /usr/include/fnmatch.h ${WRKSRC}/src/main/freebsd_fnmatch.h
@cd ${WRKSRC}/conf && \
for I in access.conf-dist srm.conf-dist; do \
sed -e "s#@@ServerRoot@@#${PREFIX}/www#g" < $${I} > $${I}.new; \

View File

@ -1,51 +0,0 @@
*** src/main/fnmatch.h.orig Thu Oct 16 22:57:01 1997
--- src/main/fnmatch.h Wed Oct 22 22:44:12 1997
***************
*** 35,40 ****
--- 35,44 ----
/* This file has been modified by the Apache Group. */
+ #ifdef __FreeBSD__
+ #include "freebsd_fnmatch.h"
+ extern int is_fnmatch(const char *);
+ #else
#ifndef _FNMATCH_H_
#define _FNMATCH_H_
***************
*** 50,52 ****
--- 54,57 ----
extern int is_fnmatch(const char *);
#endif /* !_FNMATCH_H_ */
+ #endif /* !FreeBSD */
*** src/main/fnmatch.c.orig Thu Oct 16 22:57:01 1997
--- src/main/fnmatch.c Wed Oct 22 22:40:52 1997
***************
*** 34,39 ****
--- 34,40 ----
* SUCH DAMAGE.
*/
+ #ifndef __FreeBSD__
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)fnmatch.c 8.2 (Berkeley) 4/16/94";
#endif /* LIBC_SCCS and not lint */
***************
*** 169,175 ****
}
return (ok == negate ? NULL : pattern);
}
!
/* This function is an Apache addition */
/* return non-zero if pattern has any glob chars in it */
--- 170,176 ----
}
return (ok == negate ? NULL : pattern);
}
! #endif /* !FreeBSD */
/* This function is an Apache addition */
/* return non-zero if pattern has any glob chars in it */

View File

@ -17,8 +17,6 @@ MAINTAINER= ache@freebsd.org
# VERS_ID = mods-1.0/me
post-patch:
@cp /usr/include/md5.h ${WRKSRC}/src/main/freebsd_md5.h
@cp /usr/include/fnmatch.h ${WRKSRC}/src/main/freebsd_fnmatch.h
@cd ${WRKSRC}/conf && \
for I in access.conf-dist srm.conf-dist; do \
sed -e "s#@@ServerRoot@@#${PREFIX}/www#g" < $${I} > $${I}.new; \

View File

@ -1,51 +0,0 @@
*** src/main/fnmatch.h.orig Thu Oct 16 22:57:01 1997
--- src/main/fnmatch.h Wed Oct 22 22:44:12 1997
***************
*** 35,40 ****
--- 35,44 ----
/* This file has been modified by the Apache Group. */
+ #ifdef __FreeBSD__
+ #include "freebsd_fnmatch.h"
+ extern int is_fnmatch(const char *);
+ #else
#ifndef _FNMATCH_H_
#define _FNMATCH_H_
***************
*** 50,52 ****
--- 54,57 ----
extern int is_fnmatch(const char *);
#endif /* !_FNMATCH_H_ */
+ #endif /* !FreeBSD */
*** src/main/fnmatch.c.orig Thu Oct 16 22:57:01 1997
--- src/main/fnmatch.c Wed Oct 22 22:40:52 1997
***************
*** 34,39 ****
--- 34,40 ----
* SUCH DAMAGE.
*/
+ #ifndef __FreeBSD__
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)fnmatch.c 8.2 (Berkeley) 4/16/94";
#endif /* LIBC_SCCS and not lint */
***************
*** 169,175 ****
}
return (ok == negate ? NULL : pattern);
}
!
/* This function is an Apache addition */
/* return non-zero if pattern has any glob chars in it */
--- 170,176 ----
}
return (ok == negate ? NULL : pattern);
}
! #endif /* !FreeBSD */
/* This function is an Apache addition */
/* return non-zero if pattern has any glob chars in it */

View File

@ -17,8 +17,6 @@ MAINTAINER= ache@freebsd.org
# VERS_ID = mods-1.0/me
post-patch:
@cp /usr/include/md5.h ${WRKSRC}/src/main/freebsd_md5.h
@cp /usr/include/fnmatch.h ${WRKSRC}/src/main/freebsd_fnmatch.h
@cd ${WRKSRC}/conf && \
for I in access.conf-dist srm.conf-dist; do \
sed -e "s#@@ServerRoot@@#${PREFIX}/www#g" < $${I} > $${I}.new; \

View File

@ -1,51 +0,0 @@
*** src/main/fnmatch.h.orig Thu Oct 16 22:57:01 1997
--- src/main/fnmatch.h Wed Oct 22 22:44:12 1997
***************
*** 35,40 ****
--- 35,44 ----
/* This file has been modified by the Apache Group. */
+ #ifdef __FreeBSD__
+ #include "freebsd_fnmatch.h"
+ extern int is_fnmatch(const char *);
+ #else
#ifndef _FNMATCH_H_
#define _FNMATCH_H_
***************
*** 50,52 ****
--- 54,57 ----
extern int is_fnmatch(const char *);
#endif /* !_FNMATCH_H_ */
+ #endif /* !FreeBSD */
*** src/main/fnmatch.c.orig Thu Oct 16 22:57:01 1997
--- src/main/fnmatch.c Wed Oct 22 22:40:52 1997
***************
*** 34,39 ****
--- 34,40 ----
* SUCH DAMAGE.
*/
+ #ifndef __FreeBSD__
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)fnmatch.c 8.2 (Berkeley) 4/16/94";
#endif /* LIBC_SCCS and not lint */
***************
*** 169,175 ****
}
return (ok == negate ? NULL : pattern);
}
!
/* This function is an Apache addition */
/* return non-zero if pattern has any glob chars in it */
--- 170,176 ----
}
return (ok == negate ? NULL : pattern);
}
! #endif /* !FreeBSD */
/* This function is an Apache addition */
/* return non-zero if pattern has any glob chars in it */

View File

@ -17,8 +17,6 @@ MAINTAINER= ache@freebsd.org
# VERS_ID = mods-1.0/me
post-patch:
@cp /usr/include/md5.h ${WRKSRC}/src/main/freebsd_md5.h
@cp /usr/include/fnmatch.h ${WRKSRC}/src/main/freebsd_fnmatch.h
@cd ${WRKSRC}/conf && \
for I in access.conf-dist srm.conf-dist; do \
sed -e "s#@@ServerRoot@@#${PREFIX}/www#g" < $${I} > $${I}.new; \

View File

@ -1,51 +0,0 @@
*** src/main/fnmatch.h.orig Thu Oct 16 22:57:01 1997
--- src/main/fnmatch.h Wed Oct 22 22:44:12 1997
***************
*** 35,40 ****
--- 35,44 ----
/* This file has been modified by the Apache Group. */
+ #ifdef __FreeBSD__
+ #include "freebsd_fnmatch.h"
+ extern int is_fnmatch(const char *);
+ #else
#ifndef _FNMATCH_H_
#define _FNMATCH_H_
***************
*** 50,52 ****
--- 54,57 ----
extern int is_fnmatch(const char *);
#endif /* !_FNMATCH_H_ */
+ #endif /* !FreeBSD */
*** src/main/fnmatch.c.orig Thu Oct 16 22:57:01 1997
--- src/main/fnmatch.c Wed Oct 22 22:40:52 1997
***************
*** 34,39 ****
--- 34,40 ----
* SUCH DAMAGE.
*/
+ #ifndef __FreeBSD__
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)fnmatch.c 8.2 (Berkeley) 4/16/94";
#endif /* LIBC_SCCS and not lint */
***************
*** 169,175 ****
}
return (ok == negate ? NULL : pattern);
}
!
/* This function is an Apache addition */
/* return non-zero if pattern has any glob chars in it */
--- 170,176 ----
}
return (ok == negate ? NULL : pattern);
}
! #endif /* !FreeBSD */
/* This function is an Apache addition */
/* return non-zero if pattern has any glob chars in it */

View File

@ -17,8 +17,6 @@ MAINTAINER= ache@freebsd.org
# VERS_ID = mods-1.0/me
post-patch:
@cp /usr/include/md5.h ${WRKSRC}/src/main/freebsd_md5.h
@cp /usr/include/fnmatch.h ${WRKSRC}/src/main/freebsd_fnmatch.h
@cd ${WRKSRC}/conf && \
for I in access.conf-dist srm.conf-dist; do \
sed -e "s#@@ServerRoot@@#${PREFIX}/www#g" < $${I} > $${I}.new; \

View File

@ -1,51 +0,0 @@
*** src/main/fnmatch.h.orig Thu Oct 16 22:57:01 1997
--- src/main/fnmatch.h Wed Oct 22 22:44:12 1997
***************
*** 35,40 ****
--- 35,44 ----
/* This file has been modified by the Apache Group. */
+ #ifdef __FreeBSD__
+ #include "freebsd_fnmatch.h"
+ extern int is_fnmatch(const char *);
+ #else
#ifndef _FNMATCH_H_
#define _FNMATCH_H_
***************
*** 50,52 ****
--- 54,57 ----
extern int is_fnmatch(const char *);
#endif /* !_FNMATCH_H_ */
+ #endif /* !FreeBSD */
*** src/main/fnmatch.c.orig Thu Oct 16 22:57:01 1997
--- src/main/fnmatch.c Wed Oct 22 22:40:52 1997
***************
*** 34,39 ****
--- 34,40 ----
* SUCH DAMAGE.
*/
+ #ifndef __FreeBSD__
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)fnmatch.c 8.2 (Berkeley) 4/16/94";
#endif /* LIBC_SCCS and not lint */
***************
*** 169,175 ****
}
return (ok == negate ? NULL : pattern);
}
!
/* This function is an Apache addition */
/* return non-zero if pattern has any glob chars in it */
--- 170,176 ----
}
return (ok == negate ? NULL : pattern);
}
! #endif /* !FreeBSD */
/* This function is an Apache addition */
/* return non-zero if pattern has any glob chars in it */