Files
nixpkgs/pkgs/by-name/jp/jpilot/darwin-build.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

32 lines
840 B
Diff

diff --git a/configure.in b/configure.in
index 98055b7..fff401f 100644
--- a/configure.in
+++ b/configure.in
@@ -249,6 +249,11 @@ for pilot_libs in $pilot_prefix/lib /usr/lib /usr/local/lib/ /usr/local/lib64 \
PILOT_LIBS="-L$pilot_libs $PILOT_LIBS"
break
fi
+ if test -r "$pilot_libs/libpisock.dylib" ; then
+ pilotlibs=yes
+ PILOT_LIBS="-L$pilot_libs $PILOT_LIBS"
+ break
+ fi
done
fi
diff --git a/libsqlite.c b/libsqlite.c
index 9557956..cf0b5ed 100644
--- a/libsqlite.c
+++ b/libsqlite.c
@@ -3,10 +3,10 @@
Elmar Klausmeier, 20-Sep-2022: Initial revision
*/
+#define _GNU_SOURCE
#include <stdio.h>
#include <string.h>
#include <time.h>
-extern char *strptime (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp) __THROW;
#include <sys/stat.h>
#include <sqlite3.h>