aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2011-10-31 00:46:10 +0800
committerashish <ashish@FreeBSD.org>2011-10-31 00:46:10 +0800
commit334c0e02d1705cadc454845bb6912f0091fce228 (patch)
treeaf9c26775cea0ca07523359ad381c70f1a878f5a /editors
parentab8ab8c134e69bebf071a83639b40cd72ead68b6 (diff)
downloadfreebsd-ports-gnome-334c0e02d1705cadc454845bb6912f0091fce228.tar.gz
freebsd-ports-gnome-334c0e02d1705cadc454845bb6912f0091fce228.tar.zst
freebsd-ports-gnome-334c0e02d1705cadc454845bb6912f0091fce228.zip
- Bring back patch in ports/161181 which got accidentally,
removed in previous commit - Bump PORTREVISION PR: ports/161911
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)