diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
commit | c5283d322accc6097afec74eab24550829788bab (patch) | |
tree | b99ce668128d82a026eaa31461643f9173f9b77b /sci-mathematics/pari/files | |
parent | 5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (diff) |
gentoo resync : 23.03.2018
Diffstat (limited to 'sci-mathematics/pari/files')
-rw-r--r-- | sci-mathematics/pari/files/pari-2.9.4-fltk-detection.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-mathematics/pari/files/pari-2.9.4-fltk-detection.patch b/sci-mathematics/pari/files/pari-2.9.4-fltk-detection.patch new file mode 100644 index 000000000000..26e146e032a6 --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.9.4-fltk-detection.patch @@ -0,0 +1,22 @@ +diff --git a/config/get_fltk b/config/get_fltk +index 87d0c1d..22f5bd8 100644 +--- a/config/get_fltk ++++ b/config/get_fltk +@@ -2,13 +2,16 @@ if test -z "$with_fltk"; then + with_fltk=yes + fi + ++cmd="FLTK_CXXFLAGS=\`fltk-config --cxxflags\`" ++. log_cmd ++ + cmd="FLTK_LIBS=\`fltk-config --ldflags\`" + . log_cmd + + exe=$osname-$arch-fltk$$$exe_suff + cxx=$CXX + if test -z "$cxx"; then cxx=g++; fi; +-cmd="$cxx $CFLAGS $FLTK_LIBS -o $exe has_fltk.c" ++cmd="$cxx $CFLAGS $FLTK_CXXFLAGS $FLTK_LIBS -o $exe has_fltk.c" + . log_cmd + if test -r "$exe"; then + echo "Using FLTK library" |