From 73393cd1703fdd87c384befef2645dcccd4933b6 Mon Sep 17 00:00:00 2001 From: Stephen Montgomery-Smith Date: Wed, 10 Jan 2024 19:39:05 -0600 Subject: [PATCH] math/octave-forge-control: Fix bug with slicot functions. Bump portrevision. Reported by: Joel Bodenmann --- math/octave-forge-control/Makefile | 1 + math/octave-forge-control/files/patch-Makefile | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 math/octave-forge-control/files/patch-Makefile diff --git a/math/octave-forge-control/Makefile b/math/octave-forge-control/Makefile index 81e959604065c..6511331aa477a 100644 --- a/math/octave-forge-control/Makefile +++ b/math/octave-forge-control/Makefile @@ -1,6 +1,7 @@ PORTNAME= octave-forge-control DISTVERSIONPREFIX= control- DISTVERSION= 4.0.0 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org diff --git a/math/octave-forge-control/files/patch-Makefile b/math/octave-forge-control/files/patch-Makefile new file mode 100644 index 0000000000000..2320098580c2a --- /dev/null +++ b/math/octave-forge-control/files/patch-Makefile @@ -0,0 +1,10 @@ +--- Makefile.orig 2024-01-11 01:31:30 UTC ++++ Makefile +@@ -30,6 +30,7 @@ all: __control_slicot_functions__.oct \ + # uppressing warnings on indexing errors + # + slicotlibrary.a: slicot ++ cp TG04BX.f $(SC_SRC) + cd $(SC_SRC) && $(MKOCTFILE) -w -c MA02ID.f; mv MA02ID.f x && $(MKOCTFILE) -c *.f && mv x MA02ID.f + $(AR) -rc slicotlibrary.a $(SC_SRC)/*.o +