File: 01_gnu_source.diff

package info (click to toggle)
csh 20240808-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,324 kB
  • sloc: ansic: 11,699; makefile: 60; sh: 16
file content (16 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Define _GNU_SOURCE to enable BSD and GNU features
Forwarded: not-needed
Author: Matej Vela <vela@debian.org>
Last-Update: 2011-05-13

--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
 # Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
 
 PROG=	csh
-CFLAGS+=-I${.CURDIR} -I.
+CFLAGS+=-I${.CURDIR} -I. -D_GNU_SOURCE
 SRCS=	alloc.c char.c const.c csh.c dir.c dol.c error.c exec.c exp.c file.c \
 	func.c glob.c hist.c init.c lex.c misc.c parse.c proc.c \
 	sem.c set.c str.c time.c