termux-packages/packages/html-xml-utils/no-type-redef.patch

12 lines
575 B
Diff
Raw Normal View History

diff -uNr html-xml-utils-7.9/fopencookie.h html-xml-utils-7.9.mod/fopencookie.h
--- html-xml-utils-7.9/fopencookie.h 2018-02-23 14:29:48.000000000 +0000
+++ html-xml-utils-7.9.mod/fopencookie.h 2020-11-05 23:14:30.324621328 +0000
@@ -1,6 +1,6 @@
#ifndef _FOPENCOOKIE_H_
#define _FOPENCOOKIE_H_
-typedef signed long long int off64_t;
+//typedef signed long long int off64_t;
typedef ssize_t cookie_read_function_t (void *, char *, size_t);
typedef ssize_t cookie_write_function_t (void *, const char *, size_t);
typedef int cookie_seek_function_t (void *, off64_t, int);