FreeBSD Bugzilla – Attachment 170958 Details for
Bug 209980
patch: fix science/hdf5, API break from 1.8 to 1.10
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
hdf5.diff (text/plain), 1.99 KB, created by
Kurt Jaeger
on 2016-06-02 19:13:56 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Kurt Jaeger
Created:
2016-06-02 19:13:56 UTC
Size:
1.99 KB
patch
obsolete
>diff -r -u -N science/hdf5/Makefile ../../home/pi/myp/science/hdf5/Makefile >--- science/hdf5/Makefile 2016-04-24 21:29:59.930511000 +0200 >+++ ../../home/pi/myp/science/hdf5/Makefile 2016-06-02 21:09:28.500633000 +0200 >@@ -3,6 +3,7 @@ > > PORTNAME= hdf5 > PORTVERSION= 1.10.0 >+PORTREVISION= 1 > CATEGORIES= science archivers graphics > MASTER_SITES= https://www.hdfgroup.org/ftp/HDF5/releases/hdf5-${PORTVERSION:R}/${DISTNAME}/src/ \ > ftp://www.hdfgroup.org/HDF5/releases/hdf5-${PORTVERSION:R}/${DISTNAME}/src/ \ >@@ -23,7 +24,8 @@ > CONFIGURE_ARGS= --enable-cxx \ > --enable-hl \ > --enable-instrument \ >- --enable-strict-format-checks >+ --enable-strict-format-checks \ >+ --with-default-api-version=v18 > GNU_CONFIGURE= yes > INSTALL_TARGET= install-strip > MAKE_JOBS_UNSAFE= yes >diff -r -u -N science/hdf5/files/patch-fortran_src_H5__f.c ../../home/pi/myp/science/hdf5/files/patch-fortran_src_H5__f.c >--- science/hdf5/files/patch-fortran_src_H5__f.c 1970-01-01 01:00:00.000000000 +0100 >+++ ../../home/pi/myp/science/hdf5/files/patch-fortran_src_H5__f.c 2016-06-02 21:08:46.620081000 +0200 >@@ -0,0 +1,20 @@ >+--- fortran/src/H5_f.c.orig 2016-05-30 11:51:55.838813000 -0700 >++++ fortran/src/H5_f.c 2016-05-30 11:52:46.901739000 -0700 >+@@ -227,14 +227,14 @@ >+ /* >+ * FIND H5T_NATIVE_REAL_C_LONG_DOUBLE >+ */ >+-#if H5_FORTRAN_C_LONG_DOUBLE_IS_UNIQUE!=0 >++#if FORTRAN_C_LONG_DOUBLE_IS_UNIQUE!=0 >+ if (sizeof(real_C_LONG_DOUBLE_f) == sizeof(float)) { >+ if ((types[12] = (hid_t_f)H5Tcopy(H5T_NATIVE_FLOAT)) < 0) return ret_value; >+ } /*end if */ >+ else if (sizeof(real_C_LONG_DOUBLE_f) == sizeof(double)) { >+ if ((types[12] = (hid_t_f)H5Tcopy(H5T_NATIVE_DOUBLE)) < 0) return ret_value; >+ } /*end if */ >+-# if H5_FORTRAN_HAVE_C_LONG_DOUBLE!=0 >++# if FORTRAN_HAVE_C_LONG_DOUBLE!=0 >+ else if (sizeof(real_C_LONG_DOUBLE_f) == sizeof(long double)) { >+ if ( H5_PAC_C_MAX_REAL_PRECISION >= H5_PAC_FC_MAX_REAL_PRECISION) { >+ if ((types[12] = (hid_t_f)H5Tcopy(H5T_NATIVE_LDOUBLE)) < 0) return ret_value; >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209980
: 170958