# HG changeset patch # User Markus Mützel # Date 1627574260 -7200 # Node ID fe40564b46ad927fc0fbd5f42c5148420f346342 # Parent 64002792613d11d3f3cd45c9a5f6d6b67314133b opkg-biosig: Patch error in released Makefile. * src/opkg-biosig-1-Makefile.patch: Add new patch to fix error in Makefile of package. * dist-files.mk: Add new file to list. See: https://octave.discourse.group/t/1380 diff -r 64002792613d -r fe40564b46ad dist-files.mk --- a/dist-files.mk Fri Jul 23 23:21:02 2021 +0200 +++ b/dist-files.mk Thu Jul 29 17:57:40 2021 +0200 @@ -562,6 +562,7 @@ openscenegraph.mk \ openssl-1-fixes.patch \ openssl.mk \ + opkg-biosig-1-Makefile.patch \ opkg-biosig.mk \ opus.mk \ pango-1-fixes.patch \ diff -r 64002792613d -r fe40564b46ad src/opkg-biosig-1-Makefile.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/opkg-biosig-1-Makefile.patch Thu Jul 29 17:57:40 2021 +0200 @@ -0,0 +1,23 @@ +Use $(MKOCTFILE) variable instead of hardcoded "mkoctfile" + +$ diff -Naup ./src/Makefile.orig ./src/Makefile +--- ./src/Makefile.orig 2021-07-20 07:01:49.000000000 +0200 ++++ ./src/Makefile 2021-07-26 09:59:22.601812600 +0200 +@@ -200,10 +200,10 @@ endif + + ifneq (:,/usr/bin/octave) + %.mex: %.cpp +- mkoctfile $(DEFINES) -I.. -v -g --mex "$<" -L.. -lbiosig -o "$@" ++ $(MKOCTFILE) $(DEFINES) -I.. -v -g --mex "$<" -L.. -lbiosig -o "$@" + + %.oct: %.cpp +- mkoctfile $(DEFINES) -I.. "$<" -L.. -lbiosig -o "$@" ++ $(MKOCTFILE) $(DEFINES) -I.. "$<" -L.. -lbiosig -o "$@" + endif + + %.mexw32: %.cpp +@@ -219,4 +219,3 @@ endif + + clean: + -$(DELETE) *.o *.obj *.o64 core octave-core *.oct *.mex* mexSOPEN.cpp +-