$OpenBSD: patch-gthumb_gth-time-selector_c,v 1.3 2012/05/21 09:42:57 ajacoutot Exp $

From 62005629d834faa5ddc3799c6c43247182b3a814 Mon Sep 17 00:00:00 2001
From: Antoine Jacoutot <ajacoutot@gnome.org>
Date: Mon, 21 May 2012 06:12:48 +0000
Subject: build: OpenBSD needs _XOPEN_SOURCE_EXTENDED 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>
