unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Alexandros Theodotou <alex@zrythm.org>
To: 40439@debbugs.gnu.org
Subject: [bug#40439] [PATCH 1/3] gnu: Add libuv-static.
Date: Sat, 04 Apr 2020 22:08:54 +0100	[thread overview]
Message-ID: <c509e6f1020750b3fe632ebe7a0e45f96b240a3b.camel@zrythm.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 206 bytes --]

Hi, 

This patch adds a static version of libuv (build with -fPIC) needed by
zynfusion.

Feel free to edit it as appropriate, I am not sure if this method of
doing it is acceptable.

Thanks,
Alex

[-- Attachment #1.2: 0001-gnu-Add-libuv-static.patch --]
[-- Type: text/x-patch, Size: 927 bytes --]

From d6c584eeb80e3b4170d917d67a970cf640f7112c Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Sat, 4 Apr 2020 21:50:22 +0100
Subject: [PATCH 1/3] gnu: Add libuv-static.

* gnu/packages/libevent.scm (libuv-static): New variable.
---
 gnu/packages/libevent.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/libevent.scm b/gnu/packages/libevent.scm
index 3754a5c427..a0534a97d5 100644
--- a/gnu/packages/libevent.scm
+++ b/gnu/packages/libevent.scm
@@ -178,6 +178,14 @@ and Prima).  It also comes with a very fast Pure Perl event loop that does
 not rely on XS.")
     (license perl-license)))
 
+(define-public libuv-static
+  (package/inherit libuv
+    (arguments
+      '(#:tests? #f
+        #:make-flags (list "CFLAGS=-fPIC")))
+    ;; This version is needed by zynfusion
+    (version "1.9.1")))
+
 (define-public perl-ev
   (package
     (name "perl-ev")
-- 
2.26.0


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2020-04-04 21:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-04 21:08 Alexandros Theodotou [this message]
2022-09-28 20:33 ` [bug#40439] [PATCH 1/3] gnu: Add libuv-static Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c509e6f1020750b3fe632ebe7a0e45f96b240a3b.camel@zrythm.org \
    --to=alex@zrythm.org \
    --cc=40439@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).