diff --git a/recipes/duktape/redox.patch b/recipes/duktape/redox.patch new file mode 100644 index 0000000000000000000000000000000000000000..bfbc53e838933f052b12cc6f3994de2dda3d9cfe --- /dev/null +++ b/recipes/duktape/redox.patch @@ -0,0 +1,12 @@ +diff -ruwN source/src/duk_config.h source-new/src/duk_config.h +--- source/src/duk_config.h 2017-09-22 19:06:08.000000000 -0600 ++++ source-new/src/duk_config.h 2022-11-12 08:05:16.384212164 -0700 +@@ -786,7 +786,7 @@ + /* --- Generic UNIX --- */ + #define DUK_USE_DATE_NOW_GETTIMEOFDAY + #define DUK_USE_DATE_TZO_GMTIME_R +-#define DUK_USE_DATE_PRS_STRPTIME ++#undef DUK_USE_DATE_PRS_STRPTIME + #define DUK_USE_DATE_FMT_STRFTIME + #include <time.h> + #include <sys/time.h>