aports/community/tracker/bsd-source.patch
2023-05-13 11:03:58 +02:00

15 lines
414 B
Diff

needed for this test to pass on x86 it seems
--
diff --git a/meson.build b/meson.build
index 7b22cb1..ae1009f 100644
--- a/meson.build
+++ b/meson.build
@@ -202,6 +202,7 @@ endif
# Get an appropriate 4-digit year modifier for strftime
##################################################################
result = cc.run('''
+ #define _BSD_SOURCE
#include <stdio.h>
#include <string.h>
#include <time.h>