summarylogtreecommitdiffstats
path: root/08-gcc5-inline.patch
diff options
context:
space:
mode:
authorNatrio2018-01-10 22:36:08 +0300
committerNatrio2018-01-10 22:36:08 +0300
commitf5d0e162ff85ee8104ebbd441ecadbe2e1300b0f (patch)
treea2b4d42bfc31e2db2d36e6c04d01df9e0644e97a /08-gcc5-inline.patch
parent09d2f7927e095b531a273ab5ce8bfdce75087508 (diff)
downloadaur-f5d0e162ff85ee8104ebbd441ecadbe2e1300b0f.tar.gz
Release-11, 2 latest Debian paches added, 1 replaced, switch to openssl-1.1
Diffstat (limited to '08-gcc5-inline.patch')
-rw-r--r--08-gcc5-inline.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/08-gcc5-inline.patch b/08-gcc5-inline.patch
new file mode 100644
index 000000000000..c9a00900df7a
--- /dev/null
+++ b/08-gcc5-inline.patch
@@ -0,0 +1,20 @@
+Description: fix gcc5 build failure:
+ The visibility of one of the functions in the yacc grammar is increased so
+ the program links without error now.
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/778164
+Author: "Potter, Tim (Cloud Services)" <timothy.potter@hp.com>
+Reviewed-by: gregor herrmann <gregoa@debian.org>
+Last-Update: 2015-07-23
+
+--- a/cfg_file.y
++++ b/cfg_file.y
+@@ -624,7 +624,7 @@
+ }
+
+ /* Clear the VTUN_NAT_HACK flag which are not relevant to the current operation mode */
+-inline void clear_nat_hack_flags(int svr)
++extern inline void clear_nat_hack_flags(int svr)
+ {
+ if (svr)
+ llist_trav(&host_list,clear_nat_hack_server,NULL);