MSYS2-packages/diffutils/gnulib-weak.patch
Christoph Reiter 906f961ef7 diffutils: cleanup
* Remove msysize patch by building for cygwin
* Set spdx license
* Backport weak symbol patch as with all gnulib users
* Remove install script in favor of hooks
2022-01-16 13:25:34 +01:00

13 lines
309 B
Diff

--- diffutils-3.8/m4/threadlib.m4.orig 2021-12-29 09:21:24.516000000 +0100
+++ diffutils-3.8/m4/threadlib.m4 2021-12-29 09:21:40.882799400 +0100
@@ -101,6 +101,9 @@
#pragma weak fputs
int main ()
{
+#ifdef __CYGWIN__
+ return 1;
+#endif
return (fputs == NULL);
}]])],
[gl_cv_have_weak=yes],