strptime is XPG4v2
This commit is contained in:
parent
36fbee6826
commit
77d45002a1
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2012/04/23 17:15:19 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2012/05/20 20:48:01 naddy Exp $
|
||||
|
||||
# Some assembly required
|
||||
ONLY_FOR_ARCHS =i386 amd64
|
||||
@ -7,7 +7,7 @@ SHARED_ONLY = Yes
|
||||
COMMENT = language agnostic asynchronous web server
|
||||
|
||||
DISTNAME = mongrel2-1.7.5
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
CATEGORIES = www
|
||||
|
||||
HOMEPAGE = http://mongrel2.org/
|
||||
|
14
www/mongrel2/patches/patch-src_request_c
Normal file
14
www/mongrel2/patches/patch-src_request_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_request_c,v 1.1 2012/05/20 20:48:01 naddy Exp $
|
||||
|
||||
Needed for strptime(3).
|
||||
|
||||
--- src/request.c.orig Sun May 20 14:37:10 2012
|
||||
+++ src/request.c Sun May 20 14:37:32 2012
|
||||
@@ -33,6 +33,7 @@
|
||||
*/
|
||||
|
||||
#define _XOPEN_SOURCE 1
|
||||
+#define _XOPEN_SOURCE_EXTENDED 1
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
Loading…
Reference in New Issue
Block a user