view src/of-quaternion-1-cross-fixes.patch @ 6538:8e1e1a000deb

of-netcdf: Fix compatibility with Octave 9. * src/of-netcdf-1-octave-9-compat.patch: Add patch that replaces class that has been deprecated in Octave 7 and removed from Octave 9. * dist-files.mk: Add new file to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 19 Nov 2022 12:54:37 +0100
parents 2d8b0a2025e4
children
line wrap: on
line source

diff -ur quaternion.orig/src/Makefile quaternion/src/Makefile
--- quaternion.orig/src/Makefile	2015-05-10 07:14:09.000000000 -0400
+++ quaternion/src/Makefile	2015-05-10 07:15:03.000000000 -0400
@@ -1,11 +1,13 @@
+MKOCTFILE ?= mkoctfile
+
 all: is_real_array.oct
 
 # helper
 is_real_array.oct: is_real_array.cc
-	mkoctfile is_real_array.cc
+	$(MKOCTFILE) is_real_array.cc
 
 clean:
 	rm -rf *.o core octave-core *.oct *~
 
 realclean: clean
-	rm -rf *.a
\ No newline at end of file
+	rm -rf *.a