diff options
author | Vladyslav M <dywedir@gra.red> | 2019-07-19 01:28:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-19 01:28:37 +0300 |
commit | 9bda7eb77e5d6fd0b9199f9c82e4fa93e10901bf (patch) | |
tree | 1537465667857232099acd78916a59f3d267175b /pkgs/development | |
parent | 04b3ad82f80c3e8de52b0fe05a081c31a63d46f0 (diff) | |
parent | b16ae1a77d6411265474c23992efd809b51e142f (diff) |
Merge pull request #64474 from xbreak/update/cfitsio-3470
cfitsio: 3.450 -> 3.47
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/cfitsio/darwin-curl-config.patch | 25 | ||||
-rw-r--r-- | pkgs/development/libraries/cfitsio/default.nix | 13 |
2 files changed, 7 insertions, 31 deletions
diff --git a/pkgs/development/libraries/cfitsio/darwin-curl-config.patch b/pkgs/development/libraries/cfitsio/darwin-curl-config.patch deleted file mode 100644 index 77d8f719d778d..0000000000000 --- a/pkgs/development/libraries/cfitsio/darwin-curl-config.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -ruN cfitsio/configure cfitsio-curl-config/configure ---- cfitsio/configure 2018-05-09 21:16:00.000000000 +0200 -+++ cfitsio-curl-config/configure 2018-05-30 13:28:58.000000000 +0200 -@@ -4783,13 +4783,6 @@ - CURL_LIB="" - CURL_INC="" - # Use curl-config to get compiler & linker flags, if available. --# On Macs, prefer XCode curl-config, and reject MacPorts version --# until further notice to prevent build errors: --if test "x$EXT" = xdarwin -a -x /usr/bin/curl-config; then -- CURLCONFIG="/usr/bin/curl-config" -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for curl-config... choosing /usr/bin/curl-config on Mac" >&5 --$as_echo "checking for curl-config... choosing /usr/bin/curl-config on Mac" >&6; } --else - # Extract the first word of "curl-config", so it can be a program name with args. - set dummy curl-config; ac_word=$2 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -@@ -4833,7 +4826,6 @@ - fi - fi - fi --fi - CURLCONFIG=$ac_cv_prog_CURLCONFIG - if test -n "$CURLCONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCONFIG" >&5 diff --git a/pkgs/development/libraries/cfitsio/default.nix b/pkgs/development/libraries/cfitsio/default.nix index 32308c34ead1a..7576c24024a4d 100644 --- a/pkgs/development/libraries/cfitsio/default.nix +++ b/pkgs/development/libraries/cfitsio/default.nix @@ -2,22 +2,23 @@ # Optional dependencies , bzip2 ? null }: - stdenv.mkDerivation rec { - name = "cfitsio-${version}"; - version = "3.450"; + pname = "cfitsio"; + version = "3.47"; src = fetchurl { - url = "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio${builtins.replaceStrings ["."] [""] version}.tar.gz"; - sha256 = "0bmrkw6w65zb0k3mszaaqy1f4zjm2hl7njww74nb5v38wvdi4q5z"; + url = "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-${version}.tar.gz"; + sha256 = "1vzlxnrjckz78p2wf148v2z3krkwnykfqvlj42sz3q711vqid1a1"; }; buildInputs = [ bzip2 ]; - patches = [ ./darwin-curl-config.patch ./darwin-rpath-universal.patch ]; + patches = [ ./darwin-rpath-universal.patch ]; configureFlags = stdenv.lib.optional (bzip2 != null) "--with-bzip2=${bzip2.out}"; + hardeningDisable = [ "format" ]; + # Shared-only build buildFlags = "shared"; postPatch = '' sed -e '/^install:/s/libcfitsio.a //' -e 's@/bin/@@g' -i Makefile.in |