Skip to content

Commit

Permalink
Minor unimportant adjustments.
Browse files Browse the repository at this point in the history
  • Loading branch information
he32 committed Jul 12, 2019
1 parent a690670 commit 6bb8da8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion quickjs/distinfo
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ SHA1 (patch-cutils.h) = 12990379aca9ce0e13bca8674324cbbf3cf50376
SHA1 (patch-qjs.c) = d6d11d6b72d8136030d578e4dd3449f6b65dca12
SHA1 (patch-qjsc.c) = 836eef33eb510d2259098441992c43e68a5bf2bf
SHA1 (patch-quickjs-libc.c) = a8158a940f5ad4ca0622c8ce074d0e0277adbf13
SHA1 (patch-quickjs.c) = ac883115313e7bd6e2391acc304ac3e477012f3f
SHA1 (patch-quickjs.c) = 99dafd75d0a9e5fc131cf9c81da3f26a7d7e5d38
8 changes: 4 additions & 4 deletions quickjs/patches/patch-quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

Adapt to NetBSD.

--- quickjs.c.orig 2019-07-09 19:49:47.000000000 +0200
+++ quickjs.c 2019-07-12 11:49:56.029913625 +0200
@@ -1277,6 +1277,8 @@
--- quickjs.c.orig 2019-07-09 17:49:47.000000000 +0000
+++ quickjs.c
@@ -1277,6 +1277,8 @@ static inline size_t js_def_malloc_usabl
return 0;
#elif defined(__linux__)
return malloc_usable_size(ptr);
Expand All @@ -13,7 +13,7 @@ Adapt to NetBSD.
#else
/* change this to `return 0;` if compilation fails */
return malloc_usable_size(ptr);
@@ -1351,6 +1353,8 @@
@@ -1351,6 +1353,8 @@ static const JSMallocFunctions def_mallo
NULL,
#elif defined(__linux__)
(size_t (*)(const void *))malloc_usable_size,
Expand Down

0 comments on commit 6bb8da8

Please sign in to comment.