From 9ee6d97c2883d42f204a533a8bc1f4562df778fb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 16 Sep 2020 09:32:48 +0100 Subject: gentoo resync : 16.09.2020 --- .../gpac/files/gpac-1.0.0-zlib-compile.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 media-video/gpac/files/gpac-1.0.0-zlib-compile.patch (limited to 'media-video/gpac/files/gpac-1.0.0-zlib-compile.patch') diff --git a/media-video/gpac/files/gpac-1.0.0-zlib-compile.patch b/media-video/gpac/files/gpac-1.0.0-zlib-compile.patch new file mode 100644 index 000000000000..c5b1fc4ab56f --- /dev/null +++ b/media-video/gpac/files/gpac-1.0.0-zlib-compile.patch @@ -0,0 +1,33 @@ +Index: gpac-1.0.0/src/utils/gzio.c +=================================================================== +--- gpac-1.0.0.orig/src/utils/gzio.c ++++ gpac-1.0.0/src/utils/gzio.c +@@ -93,10 +93,10 @@ typedef struct gz_stream { + //local gzFile gz_open OF((const char *path, const char *mode, int fd)); + //local int do_flush OF((gzFile file, int flush)); + //local int get_byte OF((gz_stream *s)); +-local void check_header OF((gz_stream *s)); +-local int destroy OF((gz_stream *s)); ++local void check_header _Z_OF((gz_stream *s)); ++local int destroy _Z_OF((gz_stream *s)); + //local void putLong OF((FILE *file, uLong x)); +-local uLong getLong OF((gz_stream *s)); ++local uLong getLong _Z_OF((gz_stream *s)); + + /* =========================================================================== + Opens a gzip (.gz) file for reading or writing. The mode parameter +Index: gpac-1.0.0/src/utils/zutil.h +=================================================================== +--- gpac-1.0.0.orig/src/utils/zutil.h ++++ gpac-1.0.0/src/utils/zutil.h +@@ -262,8 +262,8 @@ extern void z_error OF((char *m)); + #endif + + +-voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size)); +-void zcfree OF((voidpf opaque, voidpf ptr)); ++voidpf zcalloc _Z_OF((voidpf opaque, unsigned items, unsigned size)); ++void zcfree _Z_OF((voidpf opaque, voidpf ptr)); + + #define ZALLOC(strm, items, size) \ + (*((strm)->zalloc))((strm)->opaque, (items), (size)) -- cgit v1.2.3