From bb0458ed652868005119ec8fdbf3e4e271be84f9 Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Tue, 4 Apr 2006 14:13:45 +0000 Subject: [PATCH] Stefan Fiedler: emacs: fix building against xaw3d-1.5e Index: package/base/emacs/xaw3d-1.5e.patch =================================================================== [2006032913443808261] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7432 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/emacs/xaw3d-1.5e.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/base/emacs/xaw3d-1.5e.patch diff --git a/package/base/emacs/xaw3d-1.5e.patch b/package/base/emacs/xaw3d-1.5e.patch new file mode 100644 index 000000000..8033435a2 --- /dev/null +++ b/package/base/emacs/xaw3d-1.5e.patch @@ -0,0 +1,16 @@ +This fixes the error: + xterm.c:8875: error: structure has no member named `scroll_mode' + +A variation of Richard Stallman's patch, see http://lists.gnu.org/archive/html/emacs-devel/2003-11/msg00082.html + +--- ./build/generic-distro-TRUNK-x86-athlon-xp-32-generic-expert/ROCK/src.emacs.1143533650.9471.2717819003/emacs-21.4/src/xterm.c~ 2002-10-15 16:21:45.000000000 +0200 ++++ ./build/generic-distro-TRUNK-x86-athlon-xp-32-generic-expert/ROCK/src.emacs.1143533650.9471.2717819003/emacs-21.4/src/xterm.c 2006-03-29 02:12:52.000000000 +0200 +@@ -118,7 +118,7 @@ + #ifdef HAVE_XAW3D + #include + #include +-#define ARROW_SCROLLBAR ++#define XAW_ARROW_SCROLLBARS + #include + #else /* !HAVE_XAW3D */ + #include