summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2011-10-30 16:46:10 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2011-10-30 16:46:10 +0000
commit8dfa08a6805f3eb1251d4b78342df65a85907fd7 (patch)
treea8f789afdc556b26b32c17505f58607cd1a45681 /editors
parentZenoss comes with the nagios command check_ping. This zenpack implements that (diff)
- Bring back patch in ports/161181 which got accidentally,
removed in previous commit - Bump PORTREVISION PR: ports/161911
Notes
Notes: svn path=/head/; revision=284737
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs-devel/Makefile1
-rw-r--r--editors/emacs-devel/files/patch-src_s_freebsd.h23
2 files changed, 24 insertions, 0 deletions
diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile
index c34ba95c971a..faa21f824592 100644
--- a/editors/emacs-devel/Makefile
+++ b/editors/emacs-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= emacs
PORTVERSION= ${EMACS_VER}.${EMACS_REV}
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= editors ipv6
MASTER_SITES= http://distfiles.pirateparty.in/%SUBDIR%/ \
diff --git a/editors/emacs-devel/files/patch-src_s_freebsd.h b/editors/emacs-devel/files/patch-src_s_freebsd.h
new file mode 100644
index 000000000000..a53230309c40
--- /dev/null
+++ b/editors/emacs-devel/files/patch-src_s_freebsd.h
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- src/s/freebsd.h.orig
++++ src/s/freebsd.h
+@@ -61,3 +61,17 @@
+
+ /* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack. */
+ #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
++
++#define PTY_ITERATION int i; for (i = 0; i < 1; i++)
++#define PTY_NAME_SPRINTF /* none */
++#define PTY_TTY_NAME_SPRINTF /* none */
++#define PTY_OPEN \
++ do \
++ { \
++ int slave; \
++ if (openpty (&fd, &slave, pty_name, NULL, NULL) == -1) \
++ fd = -1; \
++ else \
++ emacs_close (slave); \
++ } \
++ while (0)