summaryrefslogtreecommitdiff
path: root/pkg/netsurf/libdom/patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-06-19 21:37:22 -0700
committerMichael Forney <mforney@mforney.org>2019-06-19 22:27:00 -0700
commit898321096fe9138f600de955f6dcf2b56c302b2f (patch)
tree3b813b2939ed6edc6ebaa8c4dd7032dfff7edd54 /pkg/netsurf/libdom/patch
parent675f5acf886d03dfcac21096efb5a19a9244f678 (diff)
libcss, libdom: Remove unnecessary _ALIGNED specifier
I'm not sure what this is supposed to do, or on what system it has an effect, but with gcc it just causes a spurious global variable to be created.
Diffstat (limited to 'pkg/netsurf/libdom/patch')
-rw-r--r--pkg/netsurf/libdom/patch/0001-Remove-_ALIGNED-after-struct-definition.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/netsurf/libdom/patch/0001-Remove-_ALIGNED-after-struct-definition.patch b/pkg/netsurf/libdom/patch/0001-Remove-_ALIGNED-after-struct-definition.patch
new file mode 100644
index 00000000..88e1d085
--- /dev/null
+++ b/pkg/netsurf/libdom/patch/0001-Remove-_ALIGNED-after-struct-definition.patch
@@ -0,0 +1,25 @@
+From 568a13cb63d8d6a33c7ef77ec9c75e3abded1be3 Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Wed, 19 Jun 2019 21:34:47 -0700
+Subject: [PATCH] Remove _ALIGNED after struct definition
+
+---
+ include/dom/core/string.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/dom/core/string.h b/include/dom/core/string.h
+index f2a6122..4c2da97 100644
+--- a/include/dom/core/string.h
++++ b/include/dom/core/string.h
+@@ -18,7 +18,7 @@
+ typedef struct dom_string dom_string;
+ struct dom_string {
+ uint32_t refcnt;
+-} _ALIGNED;
++};
+
+
+ /* Claim a reference on a DOM string */
+--
+2.20.1
+