summaryrefslogtreecommitdiff
path: root/community/paraview/fix-build-with-zlib-1.2.6.diff
diff options
context:
space:
mode:
Diffstat (limited to 'community/paraview/fix-build-with-zlib-1.2.6.diff')
-rw-r--r--community/paraview/fix-build-with-zlib-1.2.6.diff36
1 files changed, 0 insertions, 36 deletions
diff --git a/community/paraview/fix-build-with-zlib-1.2.6.diff b/community/paraview/fix-build-with-zlib-1.2.6.diff
deleted file mode 100644
index 6540de045..000000000
--- a/community/paraview/fix-build-with-zlib-1.2.6.diff
+++ /dev/null
@@ -1,36 +0,0 @@
---- Utilities/VisItBridge/databases/BOV/avtBOVFileFormat.C.original 2012-02-09 16:22:56.420371795 +0000
-+++ Utilities/VisItBridge/databases/BOV/avtBOVFileFormat.C 2012-02-09 16:25:59.652228526 +0000
-@@ -703,10 +703,10 @@
- {
- // Read past the specified offset.
- if(byteOffset > 0)
-- gzseek(gz_handle, byteOffset, SEEK_SET);
-+ gzseek((gzFile)gz_handle, byteOffset, SEEK_SET);
-
- // Read the whole dataset
-- gzread(gz_handle, whole_buff, whole_nelem * unit_size);
-+ gzread((gzFile)gz_handle, whole_buff, whole_nelem * unit_size);
- }
- else
- {
-@@ -1046,9 +1046,9 @@
- {
- // Read past the specified offset.
- if(byteOffset > 0)
-- gzseek(gz_handle, byteOffset, SEEK_SET);
-+ gzseek((gzFile)gz_handle, byteOffset, SEEK_SET);
-
-- gzread(gz_handle, rv->GetVoidPointer(0),
-+ gzread((gzFile)gz_handle, rv->GetVoidPointer(0),
- nvals * dataNumComponents * unit_size);
- }
- else
-@@ -1192,7 +1192,7 @@
- // Close the file descriptors.
- //
- if (gzipped)
-- gzclose(gz_handle);
-+ gzclose((gzFile)gz_handle);
- else
- fclose(file_handle);
-