view src/of-interval-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 b4f4fbbfdadd
children
line wrap: on
line source

diff -ur interval-3.1.0.orig/src/Makefile interval-3.1.0/src/Makefile
--- interval-3.1.0.orig/src/Makefile	2017-12-21 12:38:19.524166411 -0500
+++ interval-3.1.0/src/Makefile	2017-12-21 12:43:27.693376135 -0500
@@ -31,6 +31,8 @@
 CONF_FLAG_SSE2 ?=--enable-sse2
 endif
 
+CRLIBM_CONFIG_FLAGS ?=
+
 all: $(OBJ)
 
 ## crlibm api oct-file
@@ -50,7 +52,7 @@
 $(BUNDLED_CRLIBM_DIR)/crlibm_private.o: $(BUNDLED_CRLIBM_DIR)/crlibm_config.h
 	$(MAKE) -C $(BUNDLED_CRLIBM_DIR) CFLAGS+="$(shell $(MKOCTFILE) -p CPICFLAG) -Wno-div-by-zero -Wno-unused-variable -Wno-unused-but-set-variable"
 $(BUNDLED_CRLIBM_DIR)/crlibm_config.h:
-	(cd $(BUNDLED_CRLIBM_DIR) && ./configure --disable-dependency-tracking $(CONF_FLAG_SSE2))
+	(cd $(BUNDLED_CRLIBM_DIR) && ./configure --disable-dependency-tracking $(CONF_FLAG_SSE2) $(CRLIBM_CONFIG_FLAGS))
 
 ## GNU MPFR api oct-files
 mpfr_matrix_mul_d.oct mpfr_matrix_sqr_d.oct : mpfr_%.oct: mpfr_%.cc mpfr_commons.h