summaryrefslogtreecommitdiff
path: root/pkg/netsurf/libcss
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/libcss
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/libcss')
-rw-r--r--pkg/netsurf/libcss/patch/0001-Remove-_ALIGNED-after-struct-definition.patch25
-rw-r--r--pkg/netsurf/libcss/ver2
2 files changed, 26 insertions, 1 deletions
diff --git a/pkg/netsurf/libcss/patch/0001-Remove-_ALIGNED-after-struct-definition.patch b/pkg/netsurf/libcss/patch/0001-Remove-_ALIGNED-after-struct-definition.patch
new file mode 100644
index 00000000..62693b0b
--- /dev/null
+++ b/pkg/netsurf/libcss/patch/0001-Remove-_ALIGNED-after-struct-definition.patch
@@ -0,0 +1,25 @@
+From c56708515c29edf097bcf1f021728dacf4173d69 Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Wed, 19 Jun 2019 21:36:22 -0700
+Subject: [PATCH] Remove _ALIGNED after struct definition
+
+---
+ src/stylesheet.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/stylesheet.h b/src/stylesheet.h
+index 18e077e..59632cc 100644
+--- a/src/stylesheet.h
++++ b/src/stylesheet.h
+@@ -120,7 +120,7 @@ struct css_rule {
+ index : 16, /**< index in sheet */
+ items : 8, /**< # items in rule */
+ ptype : 1; /**< css_rule_parent_type */
+-} _ALIGNED;
++};
+
+ typedef struct css_rule_selector {
+ css_rule base;
+--
+2.20.1
+
diff --git a/pkg/netsurf/libcss/ver b/pkg/netsurf/libcss/ver
index a3df0a69..368b3d7e 100644
--- a/pkg/netsurf/libcss/ver
+++ b/pkg/netsurf/libcss/ver
@@ -1 +1 @@
-0.8.0
+0.8.0 r1