9878662e8a
- Add patch to fix ARM builds: * ldc-1.9.0-fix_arm_build.patch - Update to 1.9.0 and use 0.17.5 to bootstrap - Add patch to fix rpmlint error: * ldc-0.17.5-add_missing_include.patch - Add patches to add LLVM6 support: * ldc-0.17.5-add_support_to_LLVM6.patch * ldc-0.17.5-backport_pr_2315.patch - Add patch to be able to use ldc: * ldc-0.17.5-default-to-pic.patch - update to version 0.17.5: * Added LLVM 5.0 support. * druntime: fixes for Android and addition of core.math.yl2x[p1]() for x86(_64) targets. * dmd-testsuite: backported runnable/cppa.d fix for GCC > 5. * CI updates. OBS-URL: https://build.opensuse.org/request/show/614484 OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=14
11 lines
350 B
Diff
11 lines
350 B
Diff
--- ldc-0.17.5-src.orig/runtime/phobos/etc/c/zlib/gzread.c 2018-05-14 14:41:28.022309026 +0200
|
|
+++ ldc-0.17.5-src/runtime/phobos/etc/c/zlib/gzread.c 2018-06-01 14:09:53.063607286 +0200
|
|
@@ -3,6 +3,7 @@
|
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
|
*/
|
|
|
|
+#include <unistd.h>
|
|
#include "gzguts.h"
|
|
|
|
/* Local functions */
|