"Fossies" - the Fresh Open Source Software Archive

Member "Sigil-0.9.16/docs/libpng_support_macos_10.11.patch" (17 Jul 2019, 1064 Bytes) of package /linux/www/Sigil-0.9.16.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 --- configure~  2018-12-01 09:36:00.000000000 -0500
    2 +++ configure   2019-03-29 09:19:06.000000000 -0400
    3 @@ -13136,9 +13136,9 @@
    4  $as_echo "$as_me: WARNING: not building timepng" >&2;}
    5  fi
    6  
    7 - if test "$ac_cv_func_clock_gettime" = "yes"; then
    8 -  HAVE_CLOCK_GETTIME_TRUE=
    9 -  HAVE_CLOCK_GETTIME_FALSE='#'
   10 +if test "$ac_cv_func_clock_gettime" = "yes"; then
   11 +  HAVE_CLOCK_GETTIME_TRUE='#'
   12 +  HAVE_CLOCK_GETTIME_FALSE=
   13  else
   14    HAVE_CLOCK_GETTIME_TRUE='#'
   15    HAVE_CLOCK_GETTIME_FALSE=
   16 --- pngrutil.c~ 2018-12-01 09:36:00.000000000 -0500
   17 +++ pngrutil.c  2019-03-29 09:11:26.000000000 -0400
   18 @@ -422,12 +422,14 @@
   19              png_ptr->flags |= PNG_FLAG_ZSTREAM_INITIALIZED;
   20        }
   21  
   22 +#if 0
   23  #if ZLIB_VERNUM >= 0x1290 && \
   24     defined(PNG_SET_OPTION_SUPPORTED) && defined(PNG_IGNORE_ADLER32)
   25        if (((png_ptr->options >> PNG_IGNORE_ADLER32) & 3) == PNG_OPTION_ON)
   26           /* Turn off validation of the ADLER32 checksum in IDAT chunks */
   27           ret = inflateValidate(&png_ptr->zstream, 0);
   28  #endif
   29 +#endif
   30  
   31        if (ret == Z_OK)
   32           png_ptr->zowner = owner;