void-packages/srcpkgs/kexec-tools/patches/musl.patch

13 lines
374 B
Diff
Raw Normal View History

2015-06-26 06:35:58 +02:00
--- vmcore-dmesg/vmcore-dmesg.c.orig 2015-06-26 06:34:07.265191695 +0200
+++ vmcore-dmesg/vmcore-dmesg.c 2015-06-26 06:34:44.306162445 +0200
@@ -12,7 +12,9 @@
#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
+#define _GNU_SOURCE /* loff_t with musl */
#include <fcntl.h>
+#undef _GNU_SOURCE
#include <elf.h>
#include <stdbool.h>
#include <inttypes.h>