[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/22: gnu: dnsmasq: Fix build with linux-libre-headers >= 5.2.
From: |
guix-commits |
Subject: |
05/22: gnu: dnsmasq: Fix build with linux-libre-headers >= 5.2. |
Date: |
Sat, 15 Feb 2020 16:09:01 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 645772e4b916dfb05c7f9d8f7dbf3d40e2e1b5f4
Author: Marius Bakke <address@hidden>
AuthorDate: Sat Feb 1 12:00:42 2020 +0100
gnu: dnsmasq: Fix build with linux-libre-headers >= 5.2.
* gnu/packages/dns.scm (dnsmasq)[source](modules, snippet): New fields.
---
gnu/packages/dns.scm | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 3a42a98..652fc59 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2016 John Darrington <address@hidden>
;;; Copyright © 2016 ng0 <address@hidden>
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice
<address@hidden>
-;;; Copyright © 2016 Marius Bakke <address@hidden>
+;;; Copyright © 2016, 2020 Marius Bakke <address@hidden>
;;; Copyright © 2017 Vasile Dumitrascu <address@hidden>
;;; Copyright © 2017 Gregor Giesen <address@hidden>
;;; Copyright © 2018 Oleg Pykhalov <address@hidden>
@@ -83,7 +83,17 @@
version ".tar.xz"))
(sha256
(base32
- "1fv3g8vikj3sn37x1j6qsywn09w1jipvlv34j3q5qrljbrwa5ayd"))))
+ "1fv3g8vikj3sn37x1j6qsywn09w1jipvlv34j3q5qrljbrwa5ayd"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; The SIOCGSTAMP ioctl is defined in <linux/sockios.h>
instead
+ ;; of <asm/sockios.h> starting with linux-libre-headers 5.2.
+ ;; Remove this for dnsmasq versions > 2.80.
+ (substitute* "src/dnsmasq.h"
+ (("#if defined\\(HAVE_LINUX_NETWORK\\)" all)
+ (string-append all "\n#include <linux/sockios.h>")))
+ #t))))
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)))
- branch core-updates updated (bbd1e4e -> acb9277), guix-commits, 2020/02/15
- 01/22: gnu: linux-libre: Remove obsolete workaround., guix-commits, 2020/02/15
- 02/22: gnu: efivar: Remove obsolete workaround., guix-commits, 2020/02/15
- 03/22: gnu: efibootmgr: Remove obsolete workaround., guix-commits, 2020/02/15
- 04/22: gnu: linux-libre-headers: Update to 5.4.20., guix-commits, 2020/02/15
- 05/22: gnu: dnsmasq: Fix build with linux-libre-headers >= 5.2.,
guix-commits <=
- 06/22: gnu: binutils: Update to 2.34., guix-commits, 2020/02/15
- 09/22: gnu: libfaketime: Fix build with glibc 2.31., guix-commits, 2020/02/15
- 11/22: gnu: isl: Move the static library to a separate output., guix-commits, 2020/02/15
- 12/22: gnu: python2-more-itertools: Do not depend on 'python2-minimal'., guix-commits, 2020/02/15
- 13/22: gnu: OpenBLAS: Update to 0.3.8., guix-commits, 2020/02/15
- 08/22: gnu: glibc: Update to 2.31., guix-commits, 2020/02/15
- 15/22: gnu: mit-krb5: Update to 1.18., guix-commits, 2020/02/15
- 16/22: gnu: bison: Update to 3.5.2., guix-commits, 2020/02/15
- 17/22: gnu: ncurses: Update to 6.2., guix-commits, 2020/02/15
- 07/22: gnu: ath9k-htc-firmware: Build with binutils@2.33.1., guix-commits, 2020/02/15