view src/fltk-2-uuid-mod.patch @ 6530:8ea9085d1f80

of-control: Fix compatibility with Octave 9. * src/of-control-2-octave-9-compat.patch: Add patch that replaces functions and classes that have been deprecated in Octave 7 and removed from Octave 9. * dist-files.mk: Add new file to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 17 Nov 2022 10:40:12 +0100
parents 1f944d8d6fe5
children
line wrap: on
line source

diff -ur fltk-1.3.1.orig/fltk-config.in fltk-1.3.1/fltk-config.in
--- fltk-1.3.1.orig/fltk-config.in	2013-05-24 20:20:53.000000000 -0400
+++ fltk-1.3.1/fltk-config.in	2013-05-24 20:22:12.000000000 -0400
@@ -341,7 +341,7 @@
     libdirs=$libs
 
     for i in $LDLIBS ; do
-	if test $i != -L$libdir ; then
+	if test $i != -L$libdir -a $i != -luuid ; then
 	    if test -z "$my_libs" ; then
 		my_libs="$i"
 	    else