summaryrefslogtreecommitdiff
path: root/www/screws/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'www/screws/patches/patch-ac')
-rw-r--r--www/screws/patches/patch-ac23
1 files changed, 23 insertions, 0 deletions
diff --git a/www/screws/patches/patch-ac b/www/screws/patches/patch-ac
new file mode 100644
index 00000000000..45de76a19fe
--- /dev/null
+++ b/www/screws/patches/patch-ac
@@ -0,0 +1,23 @@
+$NetBSD: patch-ac,v 1.1 2005/03/20 17:27:31 jmmv Exp $
+
+--- src/Server/Accept.c.orig 2004-06-05 15:33:56.000000000 +0200
++++ src/Server/Accept.c
+@@ -14,9 +14,8 @@
+ int tcpwin;
+
+ /* memmem */
+-#ifndef __linux__
+ char *
+-memmem(buf,len1,str,len2)
++custom_memmem(buf,len1,str,len2)
+ char *buf;
+ int len1;
+ char *str;
+@@ -35,7 +34,6 @@ memmem(buf,len1,str,len2)
+ }
+ return (char *)0; // not found
+ }
+-#endif
+
+ /* Main Accept function, here we handle connections */
+ int