view src/of-ocs-1-cross-fixes.patch @ 6161:8fcac4d6d983 release

of-queueing: Fix syntax error with Octave 7 (bug #62314). * src/of-queueing-1-octave7.patch: Add new file. * dist-files.mk: Include new patch.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 14 Apr 2022 19:27:13 +0200
parents cdbce8086eaa
children
line wrap: on
line source

diff -ur ocs.old/src/Makefile ocs/src/Makefile
--- ocs.old/src/Makefile	2015-07-07 20:23:51.000000000 -0400
+++ ocs/src/Makefile	2015-07-07 20:24:25.000000000 -0400
@@ -1,9 +1,10 @@
 OCTFILES:=Mshichmanhodgesmosfet.oct
+MKOCTFILE ?= mkoctfile
 
 all: $(OCTFILES)
 
 %.oct:  %.cc
-	mkoctfile $<
+	$(MKOCTFILE) $<
 
 clean:
 	-rm -f *.o core octave-core *.oct *~