diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-09-04 22:18:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-09-04 22:18:34 +0100 |
commit | 786ccdf6acc67b706afa134305f0fa6772024f09 (patch) | |
tree | 3d6998de43245c0409cfc6aae954b7a0efd21991 /games-board/aisleriot/files | |
parent | 59e515244463146a274c9985a5771117c313b4f2 (diff) |
import aisleriot from gnome overlay
Diffstat (limited to 'games-board/aisleriot/files')
-rw-r--r-- | games-board/aisleriot/files/aisleriot-3.16.2-detect-svg.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/games-board/aisleriot/files/aisleriot-3.16.2-detect-svg.patch b/games-board/aisleriot/files/aisleriot-3.16.2-detect-svg.patch new file mode 100644 index 00000000..2dd9001c --- /dev/null +++ b/games-board/aisleriot/files/aisleriot-3.16.2-detect-svg.patch @@ -0,0 +1,28 @@ +Do not require a particular SVG library unless actually found. + +--- a/configure.ac 2015-05-11 00:13:51.180002639 +0200 ++++ b/configure.ac 2015-05-11 00:13:40.365069049 +0200 +@@ -319,7 +319,9 @@ + + PKG_CHECK_EXISTS([librsvg-2.0 >= $RSVG_REQUIRED],[have_rsvg=yes],[have_rsvg=no]) + +- PKGS="$PKGS librsvg-2.0 >= $RSVG_REQUIRED cairo >= $CAIRO_REQUIRED" ++ if test "$have_rsvg" = "yes" ; then ++ PKGS="$PKGS librsvg-2.0 >= $RSVG_REQUIRED cairo >= $CAIRO_REQUIRED" ++ fi + + AC_DEFINE([HAVE_RSVG],[1],[Refine if librsvg is available]) + fi +@@ -334,8 +336,10 @@ + + PKG_CHECK_EXISTS([QtSvg >= $QT_SVG_REQUIRED],[have_qtsvg=yes],[have_qtsvg=no]) + +- PKGS="$PKGS QtSvg >= $QT_SVG_REQUIRED" +- EXTRA_CXX_LIBS="$EXTRA_CXX_LIBS -lstdc++" ++ if test "$have_qtsvg" = "yes" ; then ++ PKGS="$PKGS QtSvg >= $QT_SVG_REQUIRED" ++ EXTRA_CXX_LIBS="$EXTRA_CXX_LIBS -lstdc++" ++ fi + + AC_DEFINE([HAVE_QTSVG],[1],[Refine if QtSvg is available]) + fi |