Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 289799 Details for
Bug 387135
app-editors/uemacs-pk-4.0.15_p20120526: Keyword ~x86-fbsd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/uemacs-pk-4.0.15_p20110825-freebsd.patch
uemacs-pk-4.0.15_p20110825-freebsd.patch (text/plain), 903 bytes, created by
Naohiro Aota
on 2011-10-14 14:58:41 UTC
(
hide
)
Description:
files/uemacs-pk-4.0.15_p20110825-freebsd.patch
Filename:
MIME Type:
Creator:
Naohiro Aota
Created:
2011-10-14 14:58:41 UTC
Size:
903 bytes
patch
obsolete
>diff --git a/Makefile b/Makefile >index 1038f4c..eb53a8a 100644 >--- a/Makefile >+++ b/Makefile >@@ -42,6 +42,9 @@ CFLAGS=-O2 $(WARNINGS) > ifeq ($(uname_S),Linux) > DEFINES=-DAUTOCONF -DPOSIX -DUSG -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600 > endif >+ifeq ($(uname_S),FreeBSD) >+ DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_FREEBSD_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600 >+endif > ifeq ($(uname_S),Darwin) > DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_DARWIN_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600 > endif >diff --git a/posix.c b/posix.c >index fc96bc0..85eef87 100644 >--- a/posix.c >+++ b/posix.c >@@ -25,7 +25,7 @@ > > /* Since Mac OS X's termios.h doesn't have the following 2 macros, define them. > */ >-#if defined(SYSV) && defined(_DARWIN_C_SOURCE) >+#if defined(SYSV) && (defined(_DARWIN_C_SOURCE) || defined(_FREEBSD_C_SOURCE)) > #define OLCUC 0000002 > #define XCASE 0000004 > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 387135
: 289799 |
289801