rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / editor / dia / patches / 01-build.patch
blob41100bfc13cd5d0b1593ab1d6530d9c0584680d9
1 --- dia-0.97.3/app/load_save.c 2014-08-24 19:46:01.000000000 +0400
2 +++ dia-0.97.3/app/load_save.c 2015-07-17 15:25:01.176564959 +0300
3 @@ -18,7 +18,7 @@
4 #include <config.h>
6 /* so we get fdopen declared even when compiling with -ansi */
7 -#define _POSIX_C_SOURCE 200809L
8 +/* #define _POSIX_C_SOURCE 200809L */
9 #define _BSD_SOURCE 1 /* to get the prototype for fchmod() */
11 #include <sys/stat.h>