emacs doesn't build with 6-current and completely updated ports

FUJISHIMA Satsuki sf at FreeBSD.org
Sun Sep 4 22:32:28 PDT 2005


fix obtained from: darwinports

Index: files/patch-src:xterm.c
===================================================================
RCS file: files/patch-src:xterm.c
diff -N files/patch-src:xterm.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src:xterm.c	5 Sep 2005 05:05:52 -0000
@@ -0,0 +1,20 @@
+--- src/xterm.c	Tue Oct 15 16:21:45 2002
++++ src/xterm-fixed.c	Wed Jan 12 15:14:07 2005
+@@ -8863,7 +8863,7 @@
+ 	  XawScrollbarSetThumb (widget, top, shown);
+ 	else
+ 	  {
+-#ifdef HAVE_XAW3D
++#if defined(HAVE_XAW3D) && defined(XAW_ARROW_SCROLLBARS)
+ 	    ScrollbarWidget sb = (ScrollbarWidget) widget;
+ 	    int scroll_mode = 0;
+ 	    
+@@ -8883,7 +8883,7 @@
+ 	    
+ 	    XawScrollbarSetThumb (widget, top, shown);
+ 	    
+-#ifdef HAVE_XAW3D
++#if defined(HAVE_XAW3D) && defined(XAW_ARROW_SCROLLBARS)
+ 	    if (xaw3d_arrow_scroll && scroll_mode == 2)
+ 	      sb->scrollbar.scroll_mode = scroll_mode;
+ #endif


More information about the freebsd-ports mailing list