aboutsummaryrefslogtreecommitdiff
path: root/ports/healpix/fix-dependency.patch
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-10-17 02:05:12 -0700
committerGitHub <noreply@github.com>2020-10-17 02:05:12 -0700
commit32c5722104fc28cd55d166a2c04e1d44906eec68 (patch)
tree7c688990b7f6b50f119ef88c746c3ac2e1897a0b /ports/healpix/fix-dependency.patch
parent0b5b24698f08f6f4ca0ef984b2ae9d6a6ba0d7a6 (diff)
downloadvcpkg-32c5722104fc28cd55d166a2c04e1d44906eec68.tar.gz
vcpkg-32c5722104fc28cd55d166a2c04e1d44906eec68.zip
[cfitsio] Update to 3.49 and fix dependency zlib (#14064)
* [cfitsio] Update to 3.49 and fix dependency zlib * export unofficial cmake targets * [cfitsio] Fix file paths, export cmake targets * [cfitsio] Required cmake_policy CMP0012 * [ccfits] Fix dependency cfitsio * [cfitsio] Fixup pkgconfig * [healpix] Fix dependency cfitsio * [cfitsio] fix homepage and patches Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Diffstat (limited to 'ports/healpix/fix-dependency.patch')
-rw-r--r--ports/healpix/fix-dependency.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/healpix/fix-dependency.patch b/ports/healpix/fix-dependency.patch
new file mode 100644
index 000000000..87d7336f5
--- /dev/null
+++ b/ports/healpix/fix-dependency.patch
@@ -0,0 +1,13 @@
+diff --git a/src/cxx/configure.ac b/src/cxx/configure.ac
+index 63f05d7..e284f0d 100644
+--- a/src/cxx/configure.ac
++++ b/src/cxx/configure.ac
+@@ -175,7 +175,7 @@ CXXCFLAGS_NO_C="$CXXCFLAGS $CPPFLAGS"
+ LDCCFLAGS="$LDFLAGS $CCFLAGS"
+ LDCXXFLAGS="$LDFLAGS $CXXCFLAGS"
+
+-AC_CHECK_LIB([cfitsio],[ffgnrwll],,AC_MSG_ERROR([could not find the cfitsio library]),[-lm])
++AC_CHECK_LIB([cfitsio -lz],[ffgnrwll],,AC_MSG_ERROR([could not find the cfitsio library]),[-lm -lz])
+ AC_CHECK_HEADERS([fitsio.h],,AC_MSG_ERROR([could not find the cfitsio header file]),)
+
+ AC_SUBST(SILENT_RULE)