Package: lilypond / 2.19.83-1~exp1

0004-Define-_GNU_SOURCE-to-fix-the-GNU-kFreeBSD-build.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From 771d70606687f6d0ab03a0cafa928d7e5d53a402 Mon Sep 17 00:00:00 2001
From: Rob Browning <rlb@defaultvalue.org>
Date: Sat, 23 Apr 2011 14:57:50 -0500
Subject: Define _GNU_SOURCE to fix the GNU/kFreeBSD build.

Author: Petr Salinger <Petr.Salinger@seznam.cz>
Closes: #401168
---
 libguile/fports.c | 1 +
 1 file changed, 1 insertion(+)

--- a/guile18/libguile/fports.c
+++ b/guile18/libguile/fports.c
@@ -18,6 +18,7 @@
 
 
 #define _LARGEFILE64_SOURCE      /* ask for stat64 etc */
+#define _GNU_SOURCE              /* ask for LONG_LONG_MAX/LONG_LONG_MIN */
 
 #ifdef HAVE_CONFIG_H
 #  include <config.h>