mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: 4store: Remove preprocessor directive.
* gnu/packages/databases.scm (4store): Add patch to remove preprocessor directive. * gnu/packages/patches/4store-unset-preprocessor-directive.patch: New file. * gnu/local.mk: Register patch.
This commit is contained in:
parent
b028a9830c
commit
ea09f99f7f
3 changed files with 19 additions and 1 deletions
|
@ -0,0 +1,16 @@
|
|||
This patch removes the _XOPEN_SOURCE preprocessor directive as it does not seem to be needed.
|
||||
Setting it removes the definition of strdup, which is used in filter-datatypes.c.
|
||||
|
||||
Patch by Roel Janssen <roel@gnu.org>
|
||||
*** a/src/frontend/filter-datatypes.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- b/src/frontend/filter-datatypes.c 2018-04-03 17:39:23.177905592 +0200
|
||||
***************
|
||||
*** 18,24 ****
|
||||
* Copyright (C) 2006 Steve Harris for Garlik
|
||||
*/
|
||||
|
||||
- #define _XOPEN_SOURCE
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
--- 18,23 ----
|
Loading…
Add table
Add a link
Reference in a new issue