From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay03.ispgateway.de ([80.67.29.28]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RmtOQ-0002mQ-Cg for ptxdist@pengutronix.de; Mon, 16 Jan 2012 21:43:03 +0100 Received: from [88.217.99.239] (helo=galilei.fritz.box) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1RmtOP-0005sU-LJ for ptxdist@pengutronix.de; Mon, 16 Jan 2012 21:43:01 +0100 From: Bernhard Walle Date: Mon, 16 Jan 2012 21:42:55 +0100 Message-Id: <1326746575-63276-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH] host-tz-database: Fix build on Darwin Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de This patch fixes following build error: localtime.c:1174: error: static declaration of 'tzsetwall' follows non-static declaration /usr/include/time.h:150: error: previous declaration of 'tzsetwall' was here On Linux: % grep -r tzsetwall /usr/include/ [nothing] On Mac OS 10.7: % grep -r tzsetwall /usr/include/ /usr/include/time.h:void tzsetwall(void); So this patch doesn't break Linux. Signed-off-by: Bernhard Walle --- rules/host-tz-database.make | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/rules/host-tz-database.make b/rules/host-tz-database.make index 018ec97..54a1003 100644 --- a/rules/host-tz-database.make +++ b/rules/host-tz-database.make @@ -75,7 +75,7 @@ $(STATEDIR)/host-tz-database.extract: HOST_TZ_DATABASE_PATH := PATH=$(HOST_PATH) HOST_TZ_DATABASE_CONF_TOOL := NO HOST_TZ_DATABASE_MAKE_OPT := \ - zic TZDIR=/usr/share/zoneinfo + zic TZDIR=/usr/share/zoneinfo CFLAGS=-DSTD_INSPIRED HOST_TZ_DATABASE_INSTALL_OPT := \ posix_only TZDIR=$(HOST_TZ_DATABASE_PKGDIR)/usr/share/zoneinfo -- 1.7.7.4 -- ptxdist mailing list ptxdist@pengutronix.de