summaryrefslogtreecommitdiff
path: root/editors/emacs24/patches/patch-ab
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2012-11-26 16:56:15 +0000
committermartin <martin@pkgsrc.org>2012-11-26 16:56:15 +0000
commite8f4ca2777e2d71ee0eda86116587041fd87fa11 (patch)
tree5343b3280b69f386f7ba37c4ec0f8efdc599cd00 /editors/emacs24/patches/patch-ab
parent12e203fdbf0fa5f54f8e09e0f5a967ff482359ce (diff)
downloadpkgsrc-e8f4ca2777e2d71ee0eda86116587041fd87fa11.tar.gz
Use openpty() from libutil on *BSD (patch from Peter Bex).
Declare proper POSIX version for fcntl.h *at functions.
Diffstat (limited to 'editors/emacs24/patches/patch-ab')
-rw-r--r--editors/emacs24/patches/patch-ab11
1 files changed, 10 insertions, 1 deletions
diff --git a/editors/emacs24/patches/patch-ab b/editors/emacs24/patches/patch-ab
index f918185a5f5..990fb7db2b6 100644
--- a/editors/emacs24/patches/patch-ab
+++ b/editors/emacs24/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.3 2012/10/03 21:32:42 marino Exp $
+$NetBSD: patch-ab,v 1.4 2012/11/26 16:56:16 martin Exp $
Add DragonFly
@@ -20,6 +20,15 @@ Add DragonFly
## OpenBSD ports
*-*-openbsd* )
opsys=openbsd
+@@ -7854,7 +7854,7 @@
+ ## IBM's X11R5 uses -lIM and -liconv in AIX 3.2.2.
+ aix4-2) LIBS_SYSTEM="-lrts -lIM -liconv" ;;
+
+- freebsd) LIBS_SYSTEM="-lutil" ;;
++ freebsd|netbsd|openbsd) LIBS_SYSTEM="-lutil" ;;
+
+ hpux*) LIBS_SYSTEM="-l:libdld.sl" ;;
+
@@ -8095,6 +8104,11 @@ case $opsys in
LIB_MATH=
START_FILES='pre-crt0.o'