unofficial mirror of guix-patches@gnu.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

* bug#63905: [PATCH] gnu: thc-ipv6: Do not build with "-march=native".
  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 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2023-06-06  6:58 UTC (permalink / raw)
  To: Z572; +Cc: 63905-done

[-- Attachment #1: Type: text/plain, Size: 237 bytes --]

Patch applied. Thanks!

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).