pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libfetch/files Like Linux, MiNT wants _GNU_SOURCE ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02717c5f86b9
branches:  trunk
changeset: 555578:02717c5f86b9
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Mar 05 19:07:03 2009 +0000

description:
Like Linux, MiNT wants _GNU_SOURCE (for strptime)

diffstat:

 net/libfetch/files/http.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 3b7a9b07a12b -r 02717c5f86b9 net/libfetch/files/http.c
--- a/net/libfetch/files/http.c Thu Mar 05 18:51:26 2009 +0000
+++ b/net/libfetch/files/http.c Thu Mar 05 19:07:03 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: http.c,v 1.23 2009/03/05 15:14:14 joerg Exp $  */
+/*     $NetBSD: http.c,v 1.24 2009/03/05 19:07:03 abs Exp $    */
 /*-
  * Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
  * Copyright (c) 2003 Thomas Klausner <wiz%NetBSD.org@localhost>
@@ -63,8 +63,8 @@
  * SUCH DAMAGE.
  */
 
-#ifdef __linux__
-/* Keep this down to Linux, it can create surprises else where. */
+#if defined(__linux__) || defined(__MINT__)
+/* Keep this down to Linux or MiNT, it can create surprises elsewhere. */
 #define _GNU_SOURCE
 #endif
 



Home | Main Index | Thread Index | Old Index