strptime is XPG4v2; ok jasper@

This commit is contained in:
naddy 2012-05-20 22:10:46 +00:00
parent 8856725b20
commit 77411a653c
2 changed files with 16 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.58 2012/05/14 20:11:49 jasper Exp $
# $OpenBSD: Makefile,v 1.59 2012/05/20 22:10:46 naddy Exp $
SHARED_ONLY= Yes
@ -6,6 +6,7 @@ COMMENT= image viewer and browser for GNOME
GNOME_PROJECT= gthumb
GNOME_VERSION= 3.0.1
REVISION= 0
CATEGORIES= graphics

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-gthumb_gth-time-selector_c,v 1.1 2012/05/20 22:10:46 naddy Exp $
Needed for strptime(3).
--- gthumb/gth-time-selector.c.orig Sun May 20 15:48:44 2012
+++ gthumb/gth-time-selector.c Sun May 20 15:49:00 2012
@@ -21,6 +21,7 @@
#include <config.h>
#define _XOPEN_SOURCE /* glibc2 needs this */
+#define _XOPEN_SOURCE_EXTENDED 1
#include <time.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>