strptime is XPG4v2; ok sthen@

This commit is contained in:
naddy 2012-05-20 21:34:57 +00:00
parent 77d45002a1
commit ed7596f8a7
2 changed files with 16 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.15 2011/10/29 08:12:32 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.16 2012/05/20 21:34:57 naddy Exp $
COMMENT = tool for working with RAW images
DISTNAME = rawstudio-1.2
REVISION = 6
REVISION = 7
CATEGORIES = graphics

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_rs-utils_c,v 1.1 2012/05/20 21:34:57 naddy Exp $
Needed for strptime(3).
--- src/rs-utils.c.orig Sun May 20 15:10:05 2012
+++ src/rs-utils.c Sun May 20 15:10:31 2012
@@ -18,6 +18,7 @@
*/
#define _XOPEN_SOURCE /* strptime() */
+#define _XOPEN_SOURCE_EXTENDED 1
#include <config.h>
#include <glib.h>
#include <glib/gstdio.h>