openbsd-ports/www/polipo/patches/patch-polipo_h

24 lines
530 B
Plaintext
Raw Normal View History

$OpenBSD: patch-polipo_h,v 1.3 2010/03/20 21:32:23 kili Exp $
--- polipo.h.orig Tue Jan 8 13:56:45 2008
+++ polipo.h Tue Sep 9 10:58:23 2008
@@ -62,6 +62,9 @@ THE SOFTWARE.
#define MAP_ANONYMOUS MAP_ANON
#endif
+#include <pwd.h>
+#define POLIPO_USER "_polipo"
+
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
/* nothing */
#elif defined(__GNUC__)
@@ -152,7 +155,9 @@ THE SOFTWARE.
#ifdef __OpenBSD__
#if OpenBSD >= 200311
+#define HAVE_ASPRINTF
#define HAVE_IPv6
+#define HAVE_TIMEGM
#endif
#endif