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

Sean McNeil sean at mcneil.com
Sun Sep 4 23:00:30 PDT 2005


On Mon, 2005-09-05 at 05:25 +0000, FUJISHIMA Satsuki wrote:
> fix obtained from: darwinports

Thanks, but sorry it is no help.

The problem is that there is no scroll_mode in Xaw3d-1.5E_1.  The patch
you provided still uses it:

+             sb->scrollbar.scroll_mode = scroll_mode;

from ScrollbarP.h:

typedef struct {
     /* public */
    Pixel	  foreground;	/* thumb foreground color */
    XtOrientation orientation;	/* horizontal or vertical */
    XtCallbackList scrollProc;	/* proportional scroll */
    XtCallbackList thumbProc;	/* jump (to position) scroll */
    XtCallbackList jumpProc;	/* same as thumbProc but pass data by ref */
    Pixmap	  thumb;	/* thumb color */
    Cursor        upCursor;	/* scroll up cursor */
    Cursor        downCursor;	/* scroll down cursor */
    Cursor        leftCursor;	/* scroll left cursor */
    Cursor        rightCursor;	/* scroll right cursor */
    Cursor        verCursor;	/* scroll vertical cursor */
    Cursor        horCursor;	/* scroll horizontal cursor */
    float	  top;		/* What percent is above the win's top */
    float	  shown;	/* What percent is shown in the win */
    Dimension	  length;	/* either height or width */
    Dimension	  thickness;	/* either width or height */
    Dimension	  min_thumb;	/* minium size for the thumb. */
    float         picked;       /* How much of the thumb is picked *
				 * when scrolling starts */

     /* private */
    Cursor        inactiveCursor; /* the normal cursor for scrollbar */
    char          direction;	/* 0:none, C:drag, F:down/forw, B:up/back */
    GC		  gc;		/* a (shared) gc */
    Position	  topLoc;	/* Pixel that corresponds to top */
    Dimension	  shownLength;	/* Num pixels corresponding to shown */
    Boolean       pick_top;     /* pick thumb at top or anywhere*/
    Boolean       arrows;	/* Whether it has arrows at the end. */

    /* Only used for arrow-scrollbars. */
    XtIntervalId  timer_id;     /* autorepeat timer; remove on destruction */
} ScrollbarPart;




More information about the freebsd-ports mailing list