summaryrefslogtreecommitdiff
path: root/user/liborcus/sepples-is-a-sin.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-02-06 23:13:00 -0600
committerMax Rees <maxcrees@me.com>2020-02-06 23:13:00 -0600
commit5b500b2adda69cbfe6f06a915386f168636c90d2 (patch)
tree41b8d03ce2aa8654f54faa68b8154ed72c66dc1a /user/liborcus/sepples-is-a-sin.patch
parent207f32ec77ec373762b918956f57af9ac7440456 (diff)
downloadpackages-5b500b2adda69cbfe6f06a915386f168636c90d2.tar.gz
packages-5b500b2adda69cbfe6f06a915386f168636c90d2.tar.bz2
packages-5b500b2adda69cbfe6f06a915386f168636c90d2.tar.xz
packages-5b500b2adda69cbfe6f06a915386f168636c90d2.zip
user/liborcus: fix corner case build error
[06:14] <@awilfox> /usr/lib/gcc/powerpc64-foxkit-linux-musl/8.3.0/../../../../powerpc64-foxkit-linux-musl/bin/ld: liborcus/.libs/liborcus-0.15.so: undefined reference to `orcus::json_map_tree::node_child_default_position' [06:14] <@awilfox> collect2: error: ld returned 1 exit status [06:14] <@awilfox> make[3]: *** [Makefile:1421: orcus-css-dump] Error 1 https://stackoverflow.com/q/8016780
Diffstat (limited to 'user/liborcus/sepples-is-a-sin.patch')
-rw-r--r--user/liborcus/sepples-is-a-sin.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/liborcus/sepples-is-a-sin.patch b/user/liborcus/sepples-is-a-sin.patch
new file mode 100644
index 000000000..210ef2c86
--- /dev/null
+++ b/user/liborcus/sepples-is-a-sin.patch
@@ -0,0 +1,11 @@
+--- liborcus-0.15.3/src/liborcus/json_map_tree.cpp 2019-08-02 19:31:14.000000000 -0400
++++ liborcus-0.15.3/src/liborcus/json_map_tree.cpp 2020-02-06 23:35:09.274550724 -0500
+@@ -14,6 +14,8 @@
+
+ namespace orcus {
+
++constexpr json_map_tree::child_position_type json_map_tree::node_child_default_position;
++
+ namespace {
+
+ void throw_path_error(const char* file, int line, const pstring& path)