"Fossies" - the Fresh Open Source Software Archive

Member "qt-everywhere-src-6.3.1/qtwebengine/src/3rdparty/chromium/third_party/libzip/patches/0001-add-built-zipconf.h.patch" (8 Jun 2022, 1852 Bytes) of package /linux/misc/qt-everywhere-src-6.3.1.tar.xz:


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 From a944ceb9e95664e0590771b769b455bf7e0382c9 Mon Sep 17 00:00:00 2001
    2 From: Michael Crouse <mcrouse@chromium.org>
    3 Date: Tue, 5 Jan 2021 09:10:20 -0800
    4 Subject: [PATCH] add built zipconf.h
    5 
    6 ---
    7  third_party/libzip/src/zipconf.h | 51 ++++++++++++++++++++++++++++++++
    8  1 file changed, 51 insertions(+)
    9  create mode 100644 third_party/libzip/src/zipconf.h
   10 
   11 diff --git a/third_party/libzip/src/zipconf.h b/third_party/libzip/src/zipconf.h
   12 new file mode 100644
   13 index 000000000000..cc5abcc681ff
   14 --- /dev/null
   15 +++ b/third_party/libzip/src/zipconf.h
   16 @@ -0,0 +1,51 @@
   17 +#ifndef _HAD_ZIPCONF_H
   18 +#define _HAD_ZIPCONF_H
   19 +
   20 +/*
   21 +   zipconf.h -- platform specific include file
   22 +
   23 +   This file was generated automatically by CMake
   24 +   based on ../cmake-zipconf.h.in.
   25 + */
   26 +
   27 +#define LIBZIP_VERSION "1.7.3"
   28 +#define LIBZIP_VERSION_MAJOR 1
   29 +#define LIBZIP_VERSION_MINOR 7
   30 +#define LIBZIP_VERSION_MICRO 3
   31 +
   32 +/* #undef ZIP_STATIC */
   33 +
   34 +#define _Nullable
   35 +#define _Nonnull
   36 +
   37 +#if !defined(__STDC_FORMAT_MACROS)
   38 +#define __STDC_FORMAT_MACROS 1
   39 +#endif
   40 +#include <inttypes.h>
   41 +
   42 +typedef int8_t zip_int8_t;
   43 +typedef uint8_t zip_uint8_t;
   44 +typedef int16_t zip_int16_t;
   45 +typedef uint16_t zip_uint16_t;
   46 +typedef int32_t zip_int32_t;
   47 +typedef uint32_t zip_uint32_t;
   48 +typedef int64_t zip_int64_t;
   49 +typedef uint64_t zip_uint64_t;
   50 +
   51 +#define ZIP_INT8_MIN    (-ZIP_INT8_MAX-1)
   52 +#define ZIP_INT8_MAX    0x7f
   53 +#define ZIP_UINT8_MAX   0xff
   54 +
   55 +#define ZIP_INT16_MIN   (-ZIP_INT16_MAX-1)
   56 +#define ZIP_INT16_MAX   0x7fff
   57 +#define ZIP_UINT16_MAX  0xffff
   58 +
   59 +#define ZIP_INT32_MIN   (-ZIP_INT32_MAX-1L)
   60 +#define ZIP_INT32_MAX   0x7fffffffL
   61 +#define ZIP_UINT32_MAX  0xffffffffLU
   62 +
   63 +#define ZIP_INT64_MIN   (-ZIP_INT64_MAX-1LL)
   64 +#define ZIP_INT64_MAX   0x7fffffffffffffffLL
   65 +#define ZIP_UINT64_MAX  0xffffffffffffffffULL
   66 +
   67 +#endif /* zipconf.h */
   68 \ No newline at end of file
   69 -- 
   70 2.29.2.729.g45daf8777d-goog
   71