summary refs log tree commit diff
path: root/gnu/packages/patches/casync-renameat2-declaration.patch
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2022-05-03 17:54:16 +0000
committerLudovic Courtès <ludo@gnu.org>2022-05-30 16:34:40 +0200
commit092ee3515520c759174d235910aefc3a54b00b97 (patch)
tree75050b24b39b79b1d79e31b3399c5e900a37aadb /gnu/packages/patches/casync-renameat2-declaration.patch
parent7d8f6a5db5069ad614ca58ec3a995335fdf4fac8 (diff)
downloadguix-092ee3515520c759174d235910aefc3a54b00b97.tar.gz
gnu: casync: Update to 99559cd1.
* gnu/packages/sync.scm (casync): Update to 99559cd1.
[source]: Remove patch.
[arguments]: Fix installation.
[native-inputs]: Add python.
[inputs]: Add eudev.
* gnu/packages/patches/casync-renameat2-declaration.patch: Delete file.
* gnu/local.mk: Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/patches/casync-renameat2-declaration.patch')
-rw-r--r--gnu/packages/patches/casync-renameat2-declaration.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/gnu/packages/patches/casync-renameat2-declaration.patch b/gnu/packages/patches/casync-renameat2-declaration.patch
deleted file mode 100644
index 74c2ca7b3c..0000000000
--- a/gnu/packages/patches/casync-renameat2-declaration.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Fix build failure on glibc 2.28 where 'renameat2' would end up being
-declared twice: <https://github.com/systemd/casync/issues/166>.
-
-From 625244ca47e8ee1375d2d0092271bfd13b0913ea Mon Sep 17 00:00:00 2001
-From: Daniel Mack <daniel@zonque.org>
-Date: Tue, 13 Nov 2018 17:52:48 +0100
-Subject: [PATCH] meson.build: pass -D_GNU_SOURCE when checking for functions
-
-As described in #166, -D_GNU_SOURCE needs to be passed to the meson function
-availability checker. h/t to @tomeon for providing a link to the solution as
-well.
----
- meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index f42ed16..c0f741e 100644
---- a/meson.build
-+++ b/meson.build
-@@ -78,6 +78,6 @@ foreach ident : [
-         ['copy_file_range',   '''#include <sys/syscall.h>
-                                  #include <unistd.h>'''],
- ]
--        have = cc.has_function(ident[0], prefix : ident[1])
-+        have = cc.has_function(ident[0], args : '-D_GNU_SOURCE', prefix : ident[1])
-         conf.set10('HAVE_' + ident[0].to_upper(), have)
- endforeach