diff options
author | Max Rees <maxcrees@me.com> | 2020-06-15 22:55:29 -0500 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2020-06-15 23:09:40 -0500 |
commit | 58a870ecf6ad95286465981d19022c3d25e8a8da (patch) | |
tree | 4f470c7755d9b6d88a7c8f5a49c39632ad8fc67b /user/http-parser/remove-bogus-sizeof-test.patch | |
parent | ffa4f1d4cdbcb15bcaca6332e61294752f3a8bf1 (diff) | |
download | packages-58a870ecf6ad95286465981d19022c3d25e8a8da.tar.gz packages-58a870ecf6ad95286465981d19022c3d25e8a8da.tar.bz2 packages-58a870ecf6ad95286465981d19022c3d25e8a8da.tar.xz packages-58a870ecf6ad95286465981d19022c3d25e8a8da.zip |
user/http-parser: bump to 2.9.4
Diffstat (limited to 'user/http-parser/remove-bogus-sizeof-test.patch')
-rw-r--r-- | user/http-parser/remove-bogus-sizeof-test.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/user/http-parser/remove-bogus-sizeof-test.patch b/user/http-parser/remove-bogus-sizeof-test.patch new file mode 100644 index 000000000..5f912fb5b --- /dev/null +++ b/user/http-parser/remove-bogus-sizeof-test.patch @@ -0,0 +1,14 @@ +Upstream issues: +https://github.com/nodejs/http-parser/issues/507 +https://github.com/nodejs/http-parser/pull/510 + +--- http-parser-2.9.4/test.c 2020-03-24 05:54:06.000000000 -0500 ++++ http-parser-2.9.4/test.c 2020-06-15 22:54:06.020315073 -0500 +@@ -4221,7 +4221,6 @@ main (void) + printf("http_parser v%u.%u.%u (0x%06lx)\n", major, minor, patch, version); + + printf("sizeof(http_parser) = %u\n", (unsigned int)sizeof(http_parser)); +- assert(sizeof(http_parser) == 4 + 4 + 8 + 2 + 2 + 4 + sizeof(void *)); + + //// API + test_preserve_data(); |