gnu: Add kafs-client
[jackhill/guix/guix.git] / gnu / packages / patches / 4store-unset-preprocessor-directive.patch
1 This patch removes the _XOPEN_SOURCE preprocessor directive as it does not seem to be needed.
2 Setting it removes the definition of strdup, which is used in filter-datatypes.c.
3
4 Patch by Roel Janssen <roel@gnu.org>
5 *** a/src/frontend/filter-datatypes.c 1970-01-01 01:00:00.000000000 +0100
6 --- b/src/frontend/filter-datatypes.c 2018-04-03 17:39:23.177905592 +0200
7 ***************
8 *** 18,24 ****
9 * Copyright (C) 2006 Steve Harris for Garlik
10 */
11
12 - #define _XOPEN_SOURCE
13 #include <stdlib.h>
14 #include <string.h>
15 #include <math.h>
16 --- 18,23 ----