From b15cd0b5065cf0aa63029085272f36b7100207c3 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 11 Jun 2014 13:12:12 +0000 Subject: Revert bad _GNU_SOURCE change. --- net/libfetch/Makefile | 4 +--- net/libfetch/files/ftp.c | 4 +--- net/libfetch/files/http.c | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) (limited to 'net') diff --git a/net/libfetch/Makefile b/net/libfetch/Makefile index a8292ec9f5e..767b25753ea 100644 --- a/net/libfetch/Makefile +++ b/net/libfetch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 2014/06/07 19:22:51 cheusov Exp $ +# $NetBSD: Makefile,v 1.53 2014/06/11 13:12:12 joerg Exp $ # DISTNAME= libfetch-2.36 @@ -28,8 +28,6 @@ INSTALLATION_DIRS= include lib ${PKGMANDIR}/cat3 ${PKGMANDIR}/man3 BUILD_TARGET= depend all INSTALL_TARGET= install includes -CPPFLAGS= -D_GNU_SOURCE - do-extract: ${CP} -r ${FILESDIR} ${WRKSRC} diff --git a/net/libfetch/files/ftp.c b/net/libfetch/files/ftp.c index d9fc201954c..79dcbbc6d8b 100644 --- a/net/libfetch/files/ftp.c +++ b/net/libfetch/files/ftp.c @@ -1,4 +1,4 @@ -/* $NetBSD: ftp.c,v 1.45 2014/06/07 19:22:51 cheusov Exp $ */ +/* $NetBSD: ftp.c,v 1.46 2014/06/11 13:12:12 joerg Exp $ */ /*- * Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav * Copyright (c) 2008, 2009, 2010 Joerg Sonnenberger @@ -59,10 +59,8 @@ #ifdef __linux__ /* Keep this down to Linux, it can create surprises else where. */ -#ifndef _GNU_SOURCE #define _GNU_SOURCE #endif -#endif #if HAVE_CONFIG_H #include "config.h" diff --git a/net/libfetch/files/http.c b/net/libfetch/files/http.c index e92ef6c3fac..8bf6e2f66ab 100644 --- a/net/libfetch/files/http.c +++ b/net/libfetch/files/http.c @@ -1,4 +1,4 @@ -/* $NetBSD: http.c,v 1.36 2014/06/07 19:22:51 cheusov Exp $ */ +/* $NetBSD: http.c,v 1.37 2014/06/11 13:12:12 joerg Exp $ */ /*- * Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav * Copyright (c) 2003 Thomas Klausner @@ -69,10 +69,8 @@ __FreeBSD_kernel__ is defined for GNU/kFreeBSD. See http://glibc-bsd.alioth.debian.org/porting/PORTING . */ -#ifndef _GNU_SOURCE #define _GNU_SOURCE #endif -#endif /* Needed for gmtime_r on Interix */ #define _REENTRANT -- cgit v1.2.3