Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2013 14:12:58 +0100 (CET)
From:      Slaven Rezic <slaven@rezic.de>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        slaven@rezic.de
Subject:   ports/183551: astro/ephem: make port working with freebsd 10
Message-ID:  <201311011312.rA1DCwqC076936@cvrsnica.herceg.de>
Resent-Message-ID: <201311011350.rA1Do3Gf063660@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183551
>Category:       ports
>Synopsis:       astro/ephem: make port working with freebsd 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 01 13:50:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Slaven Rezic
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
www.rezic.de
>Environment:
System: FreeBSD cvrsnica.herceg.de 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64



>Description:
	astro/ephem does not compile with clang. The code has many
	places with a "return;" in non-void functions, which is an
	error in clang. Easiest fix here is to let the port compile
	with gcc.

>How-To-Repeat:
	See http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-10-31_23h19m03s/logs/ephem-4.28.log

>Fix:

diff --git a/Makefile b/Makefile
index b16bcbc..e47b313 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,8 @@ ALL_TARGET=
 
 CFLAGS+=	-Wno-implicit
 
+USE_GCC=	any
+
 do-install:
 	-cd ${WRKSRC}; \
 	${INSTALL_PROGRAM} ephem ${PREFIX}/bin; \



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311011312.rA1DCwqC076936>