SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,18 @@
http://bugs.netsurf-browser.org/mantis/view.php?id=2431
--- test/testutils/domtsasserts.h.orig Sun Feb 21 04:34:08 2016
+++ test/testutils/domtsasserts.h Sun Feb 21 04:34:06 2016
@@ -18,12 +18,12 @@
/* Redefine assert, so we can simply use the standard assert mechanism
* within testcases and exit with the right output for the testrunner
* to do the right thing. */
-void __assert2(const char *expr, const char *function,
+void dom_assert2(const char *expr, const char *function,
const char *file, int line);
#undef assert
#define assert(expr) \
- ((void) ((expr) || (__assert2 (#expr, __func__, __FILE__, __LINE__), 0)))
+ ((void) ((expr) || (dom_assert2 (#expr, __func__, __FILE__, __LINE__), 0)))
bool is_true(bool arg);