Subject: [bug#40439] [PATCH 1/3] gnu: Add libuv-static.

From: Alexandros Theodotou <[email-masked]>
Date: Sat, 04 Apr 2020 22:08:54 +0100

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
From d6c584eeb80e3b4170d917d67a970cf640f7112c Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <[email-masked]>
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