openbsd-ports/www/polipo/patches/patch-polipo_h
kili 7c3f32e3b4 Update to 1.0.4.1.
Add a syslog related fix from upstream.

Reminded by Tiago Cunha, who sent me an update diff a
few days ago.
2010-03-20 21:32:23 +00:00

24 lines
530 B
Plaintext

$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