python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / dmraid / patches / 007-fix-loff_t-musl.patch
blob354755418c3a0f8a9d2020089e23a6e8df2c3435
1 Source: maxice8
2 Upstream: no, it seems to be inactive.
3 Reason: fixes usage of dmraid.h under musl libc.
5 --- 1.0.0.rc16-3/dmraid/include/dmraid/misc.h
6 +++ 1.0.0.rc16-3/dmraid/include/dmraid/misc.h
7 @@ -10,6 +10,7 @@
9 #ifndef _MISC_H_
10 #define _MISC_H_
11 +#define _GNU_SOURCE
12 #include <fcntl.h>
14 #define DM_ASSERT(__cond) do { if (!(__cond)) { printf("ASSERT file:%s line:%d fuction:%s cond: %s\n", __FILE__, __LINE__, __FUNCTION__, #__cond); } } while(0);