strptime is XPG4v2; ok ajacoutot@

This commit is contained in:
naddy 2012-05-20 21:50:58 +00:00
parent 566eef95df
commit 932043f849
2 changed files with 16 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.81 2012/04/17 08:14:58 jasper Exp $
# $OpenBSD: Makefile,v 1.82 2012/05/20 21:50:58 naddy Exp $
COMMENT= Eye of GNOME, image viewing and cataloging program
GNOME_PROJECT= eog
GNOME_VERSION= 3.4.1
REVISION= 0
CATEGORIES= graphics

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_eog-exif-util_c,v 1.1 2012/05/20 21:50:59 naddy Exp $
Needed for strptime(3).
--- src/eog-exif-util.c.orig Sun May 20 14:05:46 2012
+++ src/eog-exif-util.c Sun May 20 14:06:51 2012
@@ -30,6 +30,7 @@
#ifdef HAVE_STRPTIME
#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE_EXTENDED 1
#endif
#include <time.h>