about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/hdfview/remove-properties-timestamp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/hdfview/remove-properties-timestamp.patch')
-rw-r--r--nixpkgs/pkgs/tools/misc/hdfview/remove-properties-timestamp.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/hdfview/remove-properties-timestamp.patch b/nixpkgs/pkgs/tools/misc/hdfview/remove-properties-timestamp.patch
new file mode 100644
index 000000000000..8e3790487f2d
--- /dev/null
+++ b/nixpkgs/pkgs/tools/misc/hdfview/remove-properties-timestamp.patch
@@ -0,0 +1,14 @@
+diff --git a/build.xml b/build.xml
+index fcc4931..2afeb6c 100644
+--- a/build.xml
++++ b/build.xml
+@@ -345,6 +345,9 @@
+             <entry key="HDF5_VERSION" value="${hdf5.version}"/>
+             <entry key="HDFVIEW_VERSION" value="${app.version}"/>
+         </propertyfile>
++        <exec executable="sed" failonerror="true">
++            <arg line="-i /#/d ${classes.dir}/hdf/versions.properties" />
++        </exec>
+     </target>
+ 
+     <target name="compile" depends="clean, create-property-file, compileobj, compilehdf4, compilefits, compilenc2, compilehdf5">