diff options
Diffstat (limited to 'pj_attr_gcc10.patch')
-rw-r--r-- | pj_attr_gcc10.patch | 12 |
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 */ |