pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libfetch/files Fix build under GNU/kFreeBSD.
details: https://anonhg.NetBSD.org/pkgsrc/rev/27cfb5f6107e
branches: trunk
changeset: 622117:27cfb5f6107e
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Fri Jul 26 10:21:41 2013 +0000
description:
Fix build under GNU/kFreeBSD.
diffstat:
net/libfetch/files/http.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 27adaf1a59e1 -r 27cfb5f6107e net/libfetch/files/http.c
--- a/net/libfetch/files/http.c Fri Jul 26 09:50:21 2013 +0000
+++ b/net/libfetch/files/http.c Fri Jul 26 10:21:41 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: http.c,v 1.32 2012/04/07 15:27:21 joerg Exp $ */
+/* $NetBSD: http.c,v 1.33 2013/07/26 10:21:41 ryoon Exp $ */
/*-
* Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2003 Thomas Klausner <wiz%NetBSD.org@localhost>
@@ -63,8 +63,12 @@
* SUCH DAMAGE.
*/
-#if defined(__linux__) || defined(__MINT__)
+#if defined(__linux__) || defined(__MINT__) || defined(__FreeBSD_kernel__)
/* Keep this down to Linux or MiNT, it can create surprises elsewhere. */
+/*
+ __FreeBSD_kernel__ is defined for GNU/kFreeBSD.
+ See http://glibc-bsd.alioth.debian.org/porting/PORTING .
+*/
#define _GNU_SOURCE
#endif
Home |
Main Index |
Thread Index |
Old Index