Page MenuHomeFreeBSD

editors/emacs-devel: Update to fix build when pgtk knob is off

Authored by jrm on Aug 3 2022, 3:31 PM.
Referenced Files
Unknown Object (File)
Aug 5 2023, 7:04 AM
Unknown Object (File)
May 30 2023, 6:17 AM
Unknown Object (File)
May 28 2023, 9:36 PM
Unknown Object (File)
May 28 2023, 9:35 PM
Unknown Object (File)
May 28 2023, 9:30 PM
Unknown Object (File)
May 28 2023, 9:30 PM
Unknown Object (File)
May 28 2023, 9:20 PM
Unknown Object (File)
May 6 2023, 9:34 PM



The update to 3d6af11 introduced a bug that caused the build to fail
when the port's pgtk knob was off.

cc -o temacs.tmp ...

ld: error: undefined symbol: x_scroll_bar_redraw >>> referenced
by xterm.c >>> xterm.o:(XTset_vertical_scroll_bar)


Test Plan

poudriere testport 11/12 i386/amd64 (default options), 14 custom options

Diff Detail

R11 FreeBSD ports repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

jrm requested review of this revision.Aug 3 2022, 3:31 PM

I'm not near my FreeBSD desktop for a month, so I can only build test it. A search brought me to this email thread. Did you look at it ?


I hadn't seen the post on emacs-devel@. I had just looked at the commit log and saw, e.g.,, which fixes the build. I'm running with the update now and all seems fine. I did a quick test with scrollbars, but not with --without-toolkit-scroll-bars.

Pull in another update to fix a second issue that caused the build to fail on i386 with native compilation.

I build tested this on 12/13 i386/amd64 with default options and on a recent CURRENT build with pgtk off.

This revision was not accepted when it landed; it landed in state Needs Review.Aug 11 2022, 4:10 PM
This revision was automatically updated to reflect the committed changes.