Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (46cb7d5d4016798348b7f831624763d5553fad9e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (46cb7d5d4016798348b7f831624763d5553fad9e)
  • Date: Wed, 21 Nov 2012 08:01:03 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

net/chrony/HISTORY | 4 ++++
net/chrony/PRE_BUILD | 4 ++++
net/chrony/no-ipv6.patch | 20 ++++++++++++++++++++
3 files changed, 28 insertions(+)

New commits:
commit 46cb7d5d4016798348b7f831624763d5553fad9e
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

chrony: fixed build without IPv6 support

diff --git a/net/chrony/HISTORY b/net/chrony/HISTORY
index d08d368..b026b83 100644
--- a/net/chrony/HISTORY
+++ b/net/chrony/HISTORY
@@ -1,3 +1,7 @@
+2012-11-21 Vlad Glagolev <stealth AT sourcemage.org>
+ * PRE_BUILD: added, to apply the patch
+ * no-ipv6.patch: added, to fix build without IPv6 support
+
2011-10-14 Bor Kraljič <pyrobor AT ver.si>
* DETAILS: fixed long description wrap (scripted)

diff --git a/net/chrony/PRE_BUILD b/net/chrony/PRE_BUILD
new file mode 100755
index 0000000..25482b9
--- /dev/null
+++ b/net/chrony/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/no-ipv6.patch"
diff --git a/net/chrony/no-ipv6.patch b/net/chrony/no-ipv6.patch
new file mode 100644
index 0000000..0f13a0f
--- /dev/null
+++ b/net/chrony/no-ipv6.patch
@@ -0,0 +1,20 @@
+--- ntp_io.c.orig 2011-07-13 16:55:28.000000000 +0400
++++ ntp_io.c 2012-11-21 17:44:29.000000000 +0400
+@@ -355,7 +355,7 @@
+ }
+ #endif
+
+-#ifdef IPV6_PKTINFO
++#if defined(IPV6_PKTINFO) && defined(HAVE_IPV6)
+ if (cmsg->cmsg_level == IPPROTO_IPV6 && cmsg->cmsg_type ==
IPV6_PKTINFO) {
+ struct in6_pktinfo ipi;
+
+@@ -466,7 +466,7 @@
+ }
+ #endif
+
+-#ifdef IPV6_PKTINFO
++#if defined(IPV6_PKTINFO) && defined(HAVE_IPV6)
+ if (remote_addr->local_ip_addr.family == IPADDR_INET6) {
+ struct cmsghdr *cmsg;
+ struct in6_pktinfo *ipi;



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (46cb7d5d4016798348b7f831624763d5553fad9e), Vlad Glagolev, 11/21/2012

Archive powered by MHonArc 2.6.24.

Top of Page