sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ismael Luceno (b0b7d8f591ef921b3eb7599cc67c0911d8666da0)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (b0b7d8f591ef921b3eb7599cc67c0911d8666da0)
- Date: Tue, 11 Sep 2018 15:29:37 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
net/vtun/DETAILS | 4 ++--
net/vtun/HISTORY | 4 ++++
net/vtun/PRE_BUILD | 3 +++
net/vtun/patches/508-gcc5-inline.patch | 20 ++++++++++++++++++++
4 files changed, 29 insertions(+), 2 deletions(-)
New commits:
commit b0b7d8f591ef921b3eb7599cc67c0911d8666da0
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
vtun: Fix build with GCC 5+
commit c2145cb1bd1f1334bea55226951a5d40d5d4fddf
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
vtun 3.0.4
diff --git a/net/vtun/DETAILS b/net/vtun/DETAILS
index 193881d..9cfacf3 100755
--- a/net/vtun/DETAILS
+++ b/net/vtun/DETAILS
@@ -1,10 +1,10 @@
SPELL=vtun
- VERSION=3.0.3
+ VERSION=3.0.4
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/$SPELL/$SOURCE
#
SOURCE_HASH=sha512:6984aad411784b5bdb2152bedc4aae366ec2513d013c5b9a9e5889d540140a6523c72a6dafda6d6f75ceadf7f22b6b6ac534092946eed1534bd7f9eeecd9bcf5
-
SOURCE_HASH=sha512:5fa789d08b556f97492b89515a89c2322c4b0a8fa95bd1035f5ed19061b3654a6a36a9911792096ac872ae9ae5451848cab87d0343dc0ffc064affea1f7d0d54
+
SOURCE_HASH=sha512:b1bb7294bd745c2ca888704e2b0f8e05447b5e01bec0f921648afe363d61a19508dea9e26663993cd69c506aa92621e76f36045bddf7c3723d13a72741ca6781
LICENSE[0]=GPL
KEYWORDS="net"
WEB_SITE=http://vtun.sourceforge.net
diff --git a/net/vtun/HISTORY b/net/vtun/HISTORY
index 6741cd5..a6816d6 100644
--- a/net/vtun/HISTORY
+++ b/net/vtun/HISTORY
@@ -1,3 +1,7 @@
+2018-09-11 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: updated spell to 3.0.4
+ * PRE_BUILD, patches/508-gcc5-inline.patch: fixed build with GCC 5+
+
2015-05-25 Thomas Orgis <sobukus AT sourcemage.org>
* DETAILS: remove SOURCEFORGE_URL usage (automated)
diff --git a/net/vtun/PRE_BUILD b/net/vtun/PRE_BUILD
new file mode 100755
index 0000000..32c0555
--- /dev/null
+++ b/net/vtun/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches
diff --git a/net/vtun/patches/508-gcc5-inline.patch
b/net/vtun/patches/508-gcc5-inline.patch
new file mode 100644
index 0000000..3207ab1
--- /dev/null
+++ b/net/vtun/patches/508-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 AT hp.com>
+Reviewed-by: gregor herrmann <gregoa AT 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);
- [SM-Commit] GIT changes to master grimoire by Ismael Luceno (b0b7d8f591ef921b3eb7599cc67c0911d8666da0), Ismael Luceno, 09/11/2018
Archive powered by MHonArc 2.6.24.