summaryrefslogtreecommitdiffstats
path: root/contrib/libs/libidn/patches/10-fix-include-gnu-lib.patch
diff options
context:
space:
mode:
authormaxim-yurchuk <[email protected]>2024-10-09 12:29:46 +0300
committermaxim-yurchuk <[email protected]>2024-10-09 13:14:22 +0300
commit9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch)
treea8fb3181d5947c0d78cf402aa56e686130179049 /contrib/libs/libidn/patches/10-fix-include-gnu-lib.patch
parenta44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff)
publishFullContrib: true for ydb
<HIDDEN_URL> commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/libs/libidn/patches/10-fix-include-gnu-lib.patch')
-rw-r--r--contrib/libs/libidn/patches/10-fix-include-gnu-lib.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/libs/libidn/patches/10-fix-include-gnu-lib.patch b/contrib/libs/libidn/patches/10-fix-include-gnu-lib.patch
new file mode 100644
index 00000000000..4a91dc59f8e
--- /dev/null
+++ b/contrib/libs/libidn/patches/10-fix-include-gnu-lib.patch
@@ -0,0 +1,16 @@
+--- contrib/libs/libidn/lib/gl/cdefs.h (index)
++++ contrib/libs/libidn/lib/gl/cdefs.h (working tree)
+@@ -489,13 +489,6 @@
+ [!!sizeof (struct { int __error_if_negative: (expr) ? 2 : -1; })]
+ #endif
+
+-/* Gnulib avoids including these, as they don't work on non-glibc or
+- older glibc platforms. */
+-#ifndef __GNULIB_CDEFS
+-# include <bits/wordsize.h>
+-# include <bits/long-double.h>
+-#endif
+-
+ #if __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
+ # ifdef __REDIRECT
+