diff options
author | Andreas K. Huettel <dilfridge@gentoo.org> | 2020-06-30 13:47:10 +0300 |
---|---|---|
committer | Andreas K. Huettel <dilfridge@gentoo.org> | 2020-06-30 13:47:10 +0300 |
commit | 6003608cab6ce45c6d88c02843f09d5300154a8a (patch) | |
tree | 552df9a2bd97973b5be18ac4e069d6cd21ba0a05 /sci-visualization/gwyddion/files | |
parent | net-libs/signond: Drop 8.60-r1 (diff) | |
download | gentoo-6003608cab6ce45c6d88c02843f09d5300154a8a.tar.gz gentoo-6003608cab6ce45c6d88c02843f09d5300154a8a.tar.bz2 gentoo-6003608cab6ce45c6d88c02843f09d5300154a8a.zip |
sci-visualization/gwyddion: Version bump 2.56
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>
Diffstat (limited to 'sci-visualization/gwyddion/files')
-rw-r--r-- | sci-visualization/gwyddion/files/gwyddion-2.56-automagic.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sci-visualization/gwyddion/files/gwyddion-2.56-automagic.patch b/sci-visualization/gwyddion/files/gwyddion-2.56-automagic.patch new file mode 100644 index 000000000000..720880570830 --- /dev/null +++ b/sci-visualization/gwyddion/files/gwyddion-2.56-automagic.patch @@ -0,0 +1,34 @@ +diff -ruN gwyddion-2.56.orig/configure.ac gwyddion-2.56/configure.ac +--- gwyddion-2.56.orig/configure.ac 2020-06-30 11:04:55.000000000 +0300 ++++ gwyddion-2.56/configure.ac 2020-06-30 13:22:00.881313300 +0300 +@@ -646,11 +646,13 @@ + ############################################################################# + # OpenEXR + # Optional. Used for HDR greyscale OpenEXR pixmap import/export. +-enable_exr=$have_cxx +-PKG_CHECK_MODULES(EXR, [OpenEXR], ++GWY_WITH([exr],,[build with OpenEXR support]) ++if test "x$enable_exr" != "xno" && "x$have_cxx" != "xno"; then ++ PKG_CHECK_MODULES(EXR, [OpenEXR], + [AC_DEFINE(HAVE_EXR,1, + [Define if we have the OpenEXR package.])], + [enable_exr=no]) ++fi + AM_CONDITIONAL([HAVE_EXR],[test "x$enable_exr" != xno]) + + ############################################################################# +@@ -665,10 +667,13 @@ + ############################################################################# + # CFITSIO + # Optional. Used for FITS image import. +-PKG_CHECK_MODULES(CFITSIO, [cfitsio], ++GWY_WITH([cfitsio],,[build with cfitsio support]) ++if test "x$enable_cfitsio" != "xno"; then ++ PKG_CHECK_MODULES(CFITSIO, [cfitsio], + [AC_DEFINE(HAVE_CFITSIO,1, + [Define if we have the cfitsio package.])], + [enable_cfitsio=no]) ++fi + AM_CONDITIONAL([HAVE_CFITSIO],[test "x$enable_cfitsio" != xno]) + + ############################################################################# |