unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 40d5d0aa44568c4c1a27278c17b9dbb6c38a1078 1113 bytes (raw)
name: packages/patches/dbacl-include-locale.h.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
From: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Sat, 11 Apr 2020 03:02:04 +0200
Subject: [PATCH] gnu: dbacl: Include <locale.h> in dbacl.h.

Copied verbatim[0] from Debian.

[0]: https://sources.debian.org/data/main/d/dbacl/1.14.1-2/debian/patches/05-locale-h.patch

Description: Add missing <locale.h> include in dbacl.h
Author: Fabian Wolff <fabi.wolff@arcor.de>
Bug-Debian: https://bugs.debian.org/916182
Last-Update: 2019-08-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/dbacl.h
+++ b/src/dbacl.h
@@ -21,6 +21,8 @@
 #ifndef DBACL_H
 #define DBACL_H
 
+#include <locale.h>
+
 #ifdef HAVE_CONFIG_H
 #undef HAVE_CONFIG_H
 #include "config.h"
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,7 +28,7 @@
 # stuff_SOURCES = stuff.c stuff.h fram.c stuff-lexer.l stuff-parser.y stuff-parser.h probs.c util.c util.h $(PUBDOM)
 # stuff_LDADD = @LEXLIB@
 
-AM_CFLAGS = -funsigned-char -std=c99 -Wall -pedantic $(CFLAGSIEEE) -O3
+AM_CFLAGS = -funsigned-char -std=c99 -D_XOPEN_SOURCE=700 -Wall -pedantic $(CFLAGSIEEE) -O3
 AM_YFLAGS = -d
 
 CLEANFILES = mailcross mailtoe mailfoot 

debug log:

solving 40d5d0aa44568c4c1a27278c17b9dbb6c38a1078 ...
found 40d5d0aa44568c4c1a27278c17b9dbb6c38a1078 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).