Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 189591 Details for
Bug 267628
sci-libs/mathgl-1.8.1: does not compile with >=sci-libs/hdf5-1.8.2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixing API
mathgl-1.8.1-hdf5_v18.patch (text/plain), 1.13 KB, created by
Kacper Kowalik (Xarthisius) (RETIRED)
on 2009-04-27 08:11:04 UTC
(
hide
)
Description:
Fixing API
Filename:
MIME Type:
Creator:
Kacper Kowalik (Xarthisius) (RETIRED)
Created:
2009-04-27 08:11:04 UTC
Size:
1.13 KB
patch
obsolete
>--- mathgl-1.8.1/mgl/mgl_data_io.cpp 2009-04-27 09:49:32.765755582 +0200 >+++ mathgl-1.8.1.orig/mgl/mgl_data_io.cpp 2009-04-27 09:53:07.826205150 +0200 >@@ -832,7 +832,7 @@ > hid_t hf,hd,hs; > hsize_t dims[3]; > long rank = 3, res; >- H5Eset_auto(0,0); >+ H5Eset_auto(NULL,0,0); > res=H5Fis_hdf5(fname); > if(res>0 && !rewrite) hf = H5Fopen(fname, H5F_ACC_RDWR, H5P_DEFAULT); > else hf = H5Fcreate(fname, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); >@@ -841,7 +841,7 @@ > else if(nz==1) { rank = 2; dims[0] = ny; dims[1] = nx; } > else { rank = 3; dims[0] = nz; dims[1] = ny; dims[2] = nx; } > hs = H5Screate_simple(rank, dims, 0); >- hd = H5Dcreate(hf, data, H5T_IEEE_F32LE, hs, H5P_DEFAULT); >+ hd = H5Dcreate(hf, data, H5T_IEEE_F32LE, hs, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); > H5Dwrite(hd, H5T_NATIVE_FLOAT, hs, hs, H5P_DEFAULT, a); > H5Dclose(hd); H5Sclose(hs); H5Fclose(hf); > } >@@ -852,7 +852,7 @@ > hsize_t dims[3]; > long rank; > hf = H5Fopen(fname, H5F_ACC_RDONLY, H5P_DEFAULT); >- hd = H5Dopen(hf,data); >+ hd = H5Dopen(hf,data,H5P_DEFAULT); > hs = H5Dget_space(hd); > rank = H5Sget_simple_extent_ndims(hs); > if(rank>0 && rank<=3)
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 267628
:
189590
| 189591