all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#63905] [PATCH] gnu: thc-ipv6: Do not build with "-march=native".
@ 2023-06-05 11:52 Z572 via Guix-patches via
  2023-06-06  6:58 ` bug#63905: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Z572 via Guix-patches via @ 2023-06-05 11:52 UTC (permalink / raw)
  To: 63905

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 1578 bytes --]

* 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@gmail.com>
 ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
 ;;; Copyright © 2023 Yovan Naumovski <yovan@gorski.stream>
+;;; Copyright © 2023 Zheng Junjie <873216071@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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-06  6:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-05 11:52 [bug#63905] [PATCH] gnu: thc-ipv6: Do not build with "-march=native" Z572 via Guix-patches via
2023-06-06  6:58 ` bug#63905: " Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.