termux-packages/packages/tidy/typedef-ulong.patch
Leonid Pliushch 0d1920a061 move some packages from unstable repository
New packages that will be added:

 * antiword
 * beanshell
 * cabextract
 * deutex
 * direnv
 * exiv2
 * git-lfs
 * gitea
 * hoedown
 * httrack
 * iverilog
 * links
 * loksh
 * mksh
 * mktorrent
 * pdfgrep
 * shellharden
 * swig
 * tidy
 * tweego
 * wordgrinder
2019-05-11 18:36:47 +03:00

13 lines
590 B
Diff

diff -uNr tidy-html5/include/tidyplatform.h tidy-html5.mod/include/tidyplatform.h
--- tidy-html5/include/tidyplatform.h 2018-04-27 16:33:51.000000000 +0300
+++ tidy-html5.mod/include/tidyplatform.h 2019-01-20 18:47:23.209564431 +0200
@@ -569,7 +569,7 @@
typedef unsigned int uint;
#endif
-#if defined(HPUX_OS) || defined(CYGWIN_OS) || defined(MAC_OS) || defined(BSD_BASED_OS) || defined(_WIN32)
+#if defined(HPUX_OS) || defined(CYGWIN_OS) || defined(MAC_OS) || defined(BSD_BASED_OS) || defined(_WIN32) || defined(__ANDROID__)
# undef ulong
typedef unsigned long ulong;
#endif