diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
commit | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (patch) | |
tree | 9f47ee47c31a0f13f9496879cd88a1042550aa81 /sci-mathematics/pari/files | |
parent | 53cba99042fa967e2a93da9f8db806fe2d035543 (diff) |
gentoo (leap year) resync : 29.02.2020
Diffstat (limited to 'sci-mathematics/pari/files')
-rw-r--r-- | sci-mathematics/pari/files/pari-2.9.4-no-automagic.patch | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/sci-mathematics/pari/files/pari-2.9.4-no-automagic.patch b/sci-mathematics/pari/files/pari-2.9.4-no-automagic.patch deleted file mode 100644 index 3612d8f020fc..000000000000 --- a/sci-mathematics/pari/files/pari-2.9.4-no-automagic.patch +++ /dev/null @@ -1,66 +0,0 @@ -diff -r -U2 pari-2.9.4.orig/config/Makefile.SH pari-2.9.4/config/Makefile.SH ---- pari-2.9.4.orig/config/Makefile.SH 2017-11-09 16:26:14.000000000 +0700 -+++ pari-2.9.4/config/Makefile.SH 2018-01-13 17:31:02.404210285 +0700 -@@ -80,10 +80,10 @@ - graph=plotQt;; - Qt4) -- PLOTCFLAGS='-D__FANCY_WIN__ -I$(QTDIR)/include' -- PLOTLIBS="-L\$(QTDIR)/lib $QTLIB" -+ PLOTCFLAGS='-D__FANCY_WIN__ `pkg-config --cflags QtGui`' -+ PLOTLIBS="`pkg-config --libs QtGui`" - graph=plotQt4;; - fltk) -- PLOTCFLAGS= -- PLOTLIBS="$FLTK_LIBS" -+ PLOTCFLAGS="`fltk-config --cxxflags` $X11_INC" -+ PLOTLIBS="`fltk-config --ldflags`" - postconfig='fltk-config --post ' - graph=plotfltk;; -@@ -277,5 +277,5 @@ - # Graphic library. - QTDIR = "$QTDIR" --MOC = \$(QTDIR)/bin/moc -+MOC = "`which moc`" - PLOTCFLAGS = $PLOTCFLAGS - PLOTLIBS = $PLOTLIBS -diff -r -U2 pari-2.9.4.orig/config/get_Qt pari-2.9.4/config/get_Qt ---- pari-2.9.4.orig/config/get_Qt 2017-05-12 16:45:12.000000000 +0700 -+++ pari-2.9.4/config/get_Qt 2018-01-13 17:35:49.481198212 +0700 -@@ -6,5 +6,5 @@ - yes) - pth="/usr/local/lib /usr/local/share /usr/lib /usr/share" -- QTDIR=`locatedir qt4/bin $pth` -+ QTDIR=`locatedir qt4 $pth` - if test -n "$QTDIR"; then - QTLIB="-lQtCore -lQtGui" -diff -r -U2 pari-2.9.4.orig/config/get_config_options pari-2.9.4/config/get_config_options ---- pari-2.9.4.orig/config/get_config_options 2017-11-09 16:26:14.000000000 +0700 -+++ pari-2.9.4/config/get_config_options 2018-01-13 17:38:39.264191072 +0700 -@@ -87,8 +87,10 @@ - with_ncurses_lib=`echo "$1" | sed -e 's/[-a-z]*=//'` ;; - -+ --without-qt|--with-qt=no) without_qt=yes ;; - --with-qt) with_qt=yes ;; - --with-qt=*) - with_qt=`echo "$1" | sed -e 's/[-a-z]*=//'` ;; - -+ --without-fltk|--with-fltk=no) without_fltk=yes ;; - --with-fltk) with_fltk=yes ;; - --with-fltk=*) -@@ -168,5 +170,7 @@ - - --with-qt[=DIR] use the Qt graphical library [prefix for Qt dir.] -+ --without-qt do not try to use the Qt lib - --with-fltk use the FLTK graphical library [need fltk-config] -+ --without-fltk do not try to use the FLTK lib - - Miscellaneous -diff -r -U2 pari-2.9.4.orig/config/get_graphic_lib pari-2.9.4/config/get_graphic_lib ---- pari-2.9.4.orig/config/get_graphic_lib 2017-11-09 16:26:14.000000000 +0700 -+++ pari-2.9.4/config/get_graphic_lib 2018-01-13 17:42:45.760180706 +0700 -@@ -8,4 +8,5 @@ - if test -n "$with_fltk"; then which_graphic_lib=fltk; fi - if test -n "$with_qt"; then which_graphic_lib=Qt; fi -+if test -n "$without_fltk" -a -n "$without_qt"; then which_graphic_lib=none; fi - if test "$fastread" != yes; then - cat << EOT |