summarylogtreecommitdiffstats
path: root/pj_attr_gcc10.patch
diff options
context:
space:
mode:
authorJose Riha2020-08-02 10:51:01 +0200
committerJose Riha2020-08-02 10:51:01 +0200
commit79fc671c84762a8e5109f3ef63b653d859691405 (patch)
tree7def548752a4df27b78f92774ede5196fd99ba65 /pj_attr_gcc10.patch
parentd47341c1b2caf3dfeff03c7c81778f3fe52451f0 (diff)
downloadaur-python2-sipsimple.tar.gz
Update
Diffstat (limited to 'pj_attr_gcc10.patch')
-rw-r--r--pj_attr_gcc10.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pj_attr_gcc10.patch b/pj_attr_gcc10.patch
new file mode 100644
index 000000000000..91f61d6c5f32
--- /dev/null
+++ b/pj_attr_gcc10.patch
@@ -0,0 +1,12 @@
+diff -aur src/python-sipsimple-release-3.5.0/deps/pjsip/pjlib/include/pj/list.h src.orig/python-sipsimple-release-3.5.0/deps/pjsip/pjlib/include/pj/list.h
+--- src/python-sipsimple-release-3.5.0/deps/pjsip/pjlib/include/pj/list.h 2020-02-14 12:06:07.000000000 +0100
++++ src.orig/python-sipsimple-release-3.5.0/deps/pjsip/pjlib/include/pj/list.h 2020-08-02 10:40:15.118079182 +0200
+@@ -71,7 +71,7 @@
+ * must initialize the 'value' member to an appropriate value (typically the
+ * owner itself).
+ */
+-struct pj_list
++extern struct pj_list
+ {
+ PJ_DECL_LIST_MEMBER(void);
+ } PJ_ATTR_MAY_ALIAS; /* may_alias avoids warning with gcc-4.4 -Wall -O2 */