GNU bug report logs - #63905
[PATCH] gnu: thc-ipv6: Do not build with "-march=native".

Previous Next

Package: guix-patches;

Reported by: Z572 <873216071 <at> qq.com>

Date: Mon, 5 Jun 2023 11:54:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Z572 <873216071 <at> qq.com>
To: 63905 <at> debbugs.gnu.org
Subject: [bug#63905] [PATCH] gnu: thc-ipv6: Do not build with "-march=native".
Date: Mon,  5 Jun 2023 19:52:55 +0800
* gnu/packages/networking.scm (thc-ipv6)[origin]: Add 'snippet'.
[properties]: New field.
---
 gnu/packages/networking.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 9dfc785f04..701d2caa50 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -59,6 +59,7 @@
 ;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus <at> gmail.com>
 ;;; Copyright © 2023 Bruno Victal <mirai <at> makinata.eu>
 ;;; Copyright © 2023 Yovan Naumovski <yovan <at> gorski.stream>
+;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3097,7 +3098,10 @@ (define-public thc-ipv6
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "07kwika1zdq62s5p5z94xznm77dxjxdg8k0hrg7wygz50151nzmx"))))
+        (base32 "07kwika1zdq62s5p5z94xznm77dxjxdg8k0hrg7wygz50151nzmx"))
+       (modules '((guix build utils)))
+       (snippet '(substitute* '("Makefile")
+                   (("-march=native") "")))))
     (build-system gnu-build-system)
     (arguments
      (list
@@ -3126,6 +3130,7 @@ (define-public thc-ipv6
            libpcap
            openssl
            perl))
+    (properties '((tunable? . #t)))
     (home-page "https://github.com/vanhauser-thc/thc-ipv6")
     (synopsis "IPv6 security research toolkit")
     (description "The THC IPv6 Toolkit provides command-line tools and a library

base-commit: 940665301de4effd065d24c167f619286f2adf4c
-- 
2.40.1





This bug report was last modified 1 year and 348 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.