aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authoranray <anray@FreeBSD.org>2006-09-03 06:42:54 +0800
committeranray <anray@FreeBSD.org>2006-09-03 06:42:54 +0800
commitc30c7fcfd8fa8373f8bf7aac25b1eb435f5a377f (patch)
treeb8ea01e3fe1ecf6e75e72eec3c5881732bfd2589 /editors
parent19cde44fb60321621bf42f5f6f746335b1a3cc5a (diff)
downloadfreebsd-ports-gnome-c30c7fcfd8fa8373f8bf7aac25b1eb435f5a377f.tar.gz
freebsd-ports-gnome-c30c7fcfd8fa8373f8bf7aac25b1eb435f5a377f.tar.zst
freebsd-ports-gnome-c30c7fcfd8fa8373f8bf7aac25b1eb435f5a377f.zip
Fix build on 4.x
Approved by: keramida (maintainer) Reported by: pointyhat
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs-devel/files/patch-src__xmenu.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/emacs-devel/files/patch-src__xmenu.c b/editors/emacs-devel/files/patch-src__xmenu.c
new file mode 100644
index 000000000000..52a22de677ed
--- /dev/null
+++ b/editors/emacs-devel/files/patch-src__xmenu.c
@@ -0,0 +1,15 @@
+--- src/xmenu.c.orig Sun Sep 3 01:35:27 2006
++++ src/xmenu.c Sun Sep 3 01:37:02 2006
+@@ -1391,9 +1391,10 @@
+ Lisp_Object frame;
+ {
+ GtkWidget *menubar;
+- BLOCK_INPUT;
+- FRAME_PTR f = check_x_frame (frame);
++ FRAME_PTR f;
+
++ BLOCK_INPUT;
++ f = check_x_frame (frame);
+ if (FRAME_EXTERNAL_MENU_BAR (f))
+ set_frame_menubar (f, 0, 1);
+