ce59546e0b
- Let the used user and group be customized through SCREWS_USER and SCREW_GROUPS. - Fix usage of PKG_USERS, which broke the build as seen in bulk build logs. - Fix handling of configuration file (stale files could be left before in ${PREFIX}/etc). - Honour VARBASE. - Do not hardcode /usr/pkg in patches. - Fix the "hsml" module so that it can find the lua library (missing rpaths). Bump PKGREVISION to 3 due to all the previous changes. Most of this brokenness was present since the package was first imported. (Oh man, I hate packages reinventing the wheel when it comes to the build infrastructure... I'm sure it's still not clean enough.)
23 lines
473 B
Text
23 lines
473 B
Text
$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
|