7c32f87b50
upstream haven't made a real release in quite some time, and this fixes problems people have encountered). Change to DPB-friendly no_subpackage handling and don't use groff. Feedback/tweaks, fix for SSL timeout-related failure, and testing from Rogier Krieger.
25 lines
765 B
Plaintext
25 lines
765 B
Plaintext
$OpenBSD: patch-perdition_str_c,v 1.1 2013/03/15 15:17:36 sthen Exp $
|
|
|
|
avoid conflict with string.h
|
|
|
|
--- perdition/str.c.orig Sat Nov 13 10:41:45 2010
|
|
+++ perdition/str.c Sat Nov 13 10:42:12 2010
|
|
@@ -721,7 +721,7 @@ char *str_replace(char *str, size_t n, ...)
|
|
* the time.
|
|
**********************************************************************/
|
|
|
|
-const char *strcasestr(const char *haystack, const char *needle)
|
|
+const char *perdition_strcasestr(const char *haystack, const char *needle)
|
|
{
|
|
size_t i, haystack_len, needle_len;
|
|
|
|
@@ -758,7 +758,7 @@ const char *strcasedelimword(const char *haystack, con
|
|
{
|
|
const char *found;
|
|
|
|
- found = strcasestr(haystack, needle);
|
|
+ found = perdition_strcasestr(haystack, needle);
|
|
if (!found)
|
|
return NULL;
|
|
|