source: packages/libs/vips/patches/002-no_fits.patch @ 28064

Last change on this file since 28064 was 28064, checked in by florian, 5 years ago

[package] vips: update to 7.26.1 (#9666)

File size: 739 bytes
  • libvips/format/fits.c

    diff -u --recursive vips-7.26.1-vanilla/libvips/format/fits.c vips-7.26.1/libvips/format/fits.c
    old new  
    5656#endif /*HAVE_CONFIG_H*/ 
    5757#include <vips/intl.h> 
    5858 
    59 #ifdef HAVE_CFITSIO 
    60  
    6159#include <stdio.h> 
    6260#include <assert.h> 
    6361#include <stdlib.h> 
     
    6765#include <vips/internal.h> 
    6866#include <vips/debug.h> 
    6967 
     68#ifndef HAVE_CFITSIO 
     69 
     70int 
     71im_fits2vips( const char *filename, IMAGE *im ) 
     72{ 
     73        im_error( "im_fits2vips", "%s", 
     74                 _( "FITS support disabled" ) ); 
     75        return( -1 ); 
     76} 
     77 
     78#else /* HAVE_CFITSIO */ 
     79 
    7080#include <fitsio.h> 
    7181 
    7282#ifdef WITH_DMALLOC 
Note: See TracBrowser for help on using the repository browser.