File: standards.patch

package info (click to toggle)
dante 1.4.3%2Bdfsg-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,032 kB
  • sloc: ansic: 60,061; sh: 11,180; yacc: 3,440; lex: 1,821; makefile: 369; awk: 220
file content (16 lines) | stat: -rw-r--r-- 453 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Subject: Support kFreeBSD and the Hurd.
Author: Peter Pentchev <roam@ringlet.net>
Forwarded: not-yet
Last-Update: 2017-09-27

--- a/compiler.m4
+++ b/compiler.m4
@@ -25,7 +25,7 @@
 	CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-D__EXTENSIONS__ -DBSD_COMP"
 	;;
 
-    *-*-linux-*)
+    *-*-linux-*|*-gnu)
 	CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED"
 	CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-D_BSD_SOURCE -D_DEFAULT_SOURCE"
 	;;