diff options
author | Moonchild <moonchild@palemoon.org> | 2019-11-08 10:54:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-08 10:54:27 +0100 |
commit | 0f3635dc8fac240b5e6d2a74d8894d83176bc357 (patch) | |
tree | 91f42e5b7b611e259ae8fb63f84e201032e56382 /gfx/cairo/nonfatal-assertions.patch | |
parent | 8bb208397d2574ffcad436d23d3e8b87b3413141 (diff) | |
parent | 5f80c286cf845cbc1dde8b7d6ea177ddd4f8f39b (diff) | |
download | UXP-0f3635dc8fac240b5e6d2a74d8894d83176bc357.tar UXP-0f3635dc8fac240b5e6d2a74d8894d83176bc357.tar.gz UXP-0f3635dc8fac240b5e6d2a74d8894d83176bc357.tar.lz UXP-0f3635dc8fac240b5e6d2a74d8894d83176bc357.tar.xz UXP-0f3635dc8fac240b5e6d2a74d8894d83176bc357.zip |
Merge pull request #1276 from MoonchildProductions/cairo-work
Update the in-tree cairo code.
Diffstat (limited to 'gfx/cairo/nonfatal-assertions.patch')
-rw-r--r-- | gfx/cairo/nonfatal-assertions.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gfx/cairo/nonfatal-assertions.patch b/gfx/cairo/nonfatal-assertions.patch deleted file mode 100644 index dcbb904ab..000000000 --- a/gfx/cairo/nonfatal-assertions.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -r b79d47dad1ea gfx/cairo/cairo/src/cairoint.h ---- a/gfx/cairo/cairo/src/cairoint.h Fri Jun 08 18:09:53 2007 -0700 -+++ b/gfx/cairo/cairo/src/cairoint.h Fri Jun 29 09:18:02 2007 +0200 -@@ -159,6 +159,13 @@ CAIRO_BEGIN_DECLS - - #ifndef M_PI - #define M_PI 3.14159265358979323846 -+#endif -+ -+#ifndef NDEBUG -+#undef assert -+#define assert(expr) \ -+ do { if (!(expr)) fprintf(stderr, "Assertion failed at %s:%d: %s\n", \ -+ __FILE__, __LINE__, #expr); } while (0) - #endif - - #undef ARRAY_LENGTH |