changeset 5812:fe40564b46ad

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
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 29 Jul 2021 17:57:40 +0200
parents 64002792613d
children 5e487f48d0dc
files dist-files.mk src/opkg-biosig-1-Makefile.patch
diffstat 2 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 \
--- /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
+-