unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob c4b1d6eda4fe2b47d27e4b2ccf87351f44fe836e 554 bytes (raw)
name: patches/4store-unset-preprocessor-directive.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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 ----

debug log:

solving c4b1d6eda4fe2b47d27e4b2ccf87351f44fe836e ...
found c4b1d6eda4fe2b47d27e4b2ccf87351f44fe836e in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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).