openbsd-ports/x11/gnome/eog/patches/patch-src_eog-exif-util_c
2012-05-23 17:01:56 +00:00

18 lines
534 B
Plaintext

$OpenBSD: patch-src_eog-exif-util_c,v 1.3 2012/05/23 17:01:56 ajacoutot Exp $
From b7c68b1ffe2ebcc81d6daa947d8ee94ad4e7e2c5 Mon Sep 17 00:00:00 2001
From: Antoine Jacoutot <ajacoutot@gnome.org>
Date: Mon, 21 May 2012 06:08:18 +0000
Subject: build: OpenBSD needs _XOPEN_SOURCE_EXTENDED 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>