mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 23:00:30 -04:00
This update brings new support for Janet and replaces some other dependencies. QuickJS is currently linked statically from lang/quickjs as that port does not provide a shared object. Changelog: https://github.com/nesbox/TIC-80/releases/tag/v1.1.2736 Changelog: https://github.com/nesbox/TIC-80/releases/tag/v1.1.2729
20 lines
522 B
C
20 lines
522 B
C
--- vendor/naett/naett.c.orig 2023-09-08 19:55:43 UTC
|
|
+++ vendor/naett/naett.c
|
|
@@ -22,7 +22,7 @@
|
|
#define __WINDOWS__ 1
|
|
#endif
|
|
|
|
-#if __linux__ && !__ANDROID__
|
|
+#if __linux__ && !__ANDROID__ || __FreeBSD__
|
|
#define __LINUX__ 1
|
|
#include <curl/curl.h>
|
|
#endif
|
|
@@ -782,7 +782,7 @@ void naettPlatformCloseResponse(InternalResponse* res)
|
|
// Inlined naett_linux.c: //
|
|
//#include "naett_internal.h"
|
|
|
|
-#if __linux__ && !__ANDROID__
|
|
+#if __linux__ && !__ANDROID__ || __FreeBSD__
|
|
|
|
#include <curl/curl.h>
|
|
#include <assert.h>
|