ports/textproc/mifluz/files/patch-clib-strcasestr2.c
Steve Wills 061eac8187 - Update to 0.25.0
- Assign maintainership to submitter
- Unify patch nameing
- Add LICENSE and USE_GCC knob

PR:		ports/175345
Submitted by:	Po-Chien Lin <linpc@cs.nctu.edu.tw>
2013-01-20 22:53:41 +00:00

15 lines
337 B
C

--- ./clib/strcasestr2.c.orig 2013-01-16 13:42:43.213865659 +0800
+++ ./clib/strcasestr2.c 2013-01-16 13:50:06.277425451 +0800
@@ -12,6 +12,7 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
+#ifndef HAVE_STRCASESTR
#include <ctype.h>
#include <string.h>
@@ -32,3 +33,4 @@
}
return 0;
}
+#endif /* HAVE_STRCASESTR */