Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 19:04:10 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368343 - in head/math/gsl: . files
Message-ID:  <201409161904.s8GJ4AZu030763@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Tue Sep 16 19:04:09 2014
New Revision: 368343
URL: http://svnweb.freebsd.org/changeset/ports/368343
QAT: https://qat.redports.org/buildarchive/r368343/

Log:
  Fix all non-x86 builds of math/gsl with a more general approach than the
  specifically powerpc patch file.
  
  Drop patch-ieee-utils-fp-freebsd.c alltogether and change the order
  of #ifdefs in the setup to pull in fp-gnuc99.c instead of fp-freebsd.cc
  
  Verified on redports for x86 builds and am bumping port revision.
  
  Suggested by:	nathanw
  Phabric:	https://reviews.freebsd.org/D787
  Reviewed by:	nathanw
  Approved by:	bdrewery (mentor)

Added:
  head/math/gsl/files/patch-ieee-utils__fp.c   (contents, props changed)
Deleted:
  head/math/gsl/files/patch-ieee-utils-fp-freebsd.c
Modified:
  head/math/gsl/Makefile

Modified: head/math/gsl/Makefile
==============================================================================
--- head/math/gsl/Makefile	Tue Sep 16 18:25:05 2014	(r368342)
+++ head/math/gsl/Makefile	Tue Sep 16 19:04:09 2014	(r368343)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gsl
 PORTVERSION=	1.16
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	math
 MASTER_SITES=	GNU
 

Added: head/math/gsl/files/patch-ieee-utils__fp.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/gsl/files/patch-ieee-utils__fp.c	Tue Sep 16 19:04:09 2014	(r368343)
@@ -0,0 +1,20 @@
+--- ieee-utils/fp.c.orig	2014-09-16 17:19:39 UTC
++++ ieee-utils/fp.c
+@@ -22,6 +22,8 @@
+ #include "fp-aix.c"
+ #elif HAVE_TRU64_IEEE_INTERFACE
+ #include "fp-tru64.c"
++#elif HAVE_DECL_FEENABLEEXCEPT || HAVE_DECL_FESETTRAPENABLE
++#include "fp-gnuc99.c"
+ #elif HAVE_FREEBSD_IEEE_INTERFACE
+ #include "fp-freebsd.c"
+ #elif HAVE_OS2EMX_IEEE_INTERFACE
+@@ -43,8 +45,6 @@
+ # else
+ #  include "fp-darwin86.c"
+ #endif
+-#elif HAVE_DECL_FEENABLEEXCEPT || HAVE_DECL_FESETTRAPENABLE
+-#include "fp-gnuc99.c"
+ #else
+ #include "fp-unknown.c" 
+ #endif



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