Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 387135 | Differences between
and this patch

Collapse All | Expand All

(-)a/Makefile (+3 lines)
Lines 42-47 CFLAGS=-O2 $(WARNINGS) Link Here
42
ifeq ($(uname_S),Linux)
42
ifeq ($(uname_S),Linux)
43
 DEFINES=-DAUTOCONF -DPOSIX -DUSG -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600
43
 DEFINES=-DAUTOCONF -DPOSIX -DUSG -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600
44
endif
44
endif
45
ifeq ($(uname_S),FreeBSD)
46
 DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_FREEBSD_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600
47
endif
45
ifeq ($(uname_S),Darwin)
48
ifeq ($(uname_S),Darwin)
46
 DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_DARWIN_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600
49
 DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_DARWIN_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600
47
endif
50
endif
(-)a/posix.c (-1 / +1 lines)
Lines 25-31 Link Here
25
25
26
/* Since Mac OS X's termios.h doesn't have the following 2 macros, define them.
26
/* Since Mac OS X's termios.h doesn't have the following 2 macros, define them.
27
 */
27
 */
28
#if defined(SYSV) && defined(_DARWIN_C_SOURCE)
28
#if defined(SYSV) && (defined(_DARWIN_C_SOURCE) || defined(_FREEBSD_C_SOURCE))
29
#define OLCUC 0000002
29
#define OLCUC 0000002
30
#define XCASE 0000004
30
#define XCASE 0000004
31
#endif
31
#endif

Return to bug 387135