ports/186107: [patch] rxvt-unicode should use gcc only wants enable mousewheel
Zsolt Udvari
udvzsolt at gmail.com
Sat Jan 25 20:40:00 UTC 2014
>Number: 186107
>Category: ports
>Synopsis: [patch] rxvt-unicode should use gcc only wants enable mousewheel
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 25 20:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Zsolt Udvari
>Release: FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD bsd-zsolt 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
The x11/rxvt-unicode/Makefile says (rev 332906):
USE_GCC= yes # segfaults when trying to scroll with the mouse wheel if clang
I think if user doesn't want mousewheel support can build with clang (which is default in 10.0) so gcc isn't necessary.
>How-To-Repeat:
>Fix:
--- rxvt-unicode-gcc-only-mousewheel.patch begins here ---
diff -ur /usr/ports/x11/rxvt-unicode/Makefile rxvt-unicode/Makefile
--- /usr/ports/x11/rxvt-unicode/Makefile 2013-12-15 22:26:47.000000000 +0100
+++ rxvt-unicode/Makefile 2014-01-25 21:15:13.268662403 +0100
@@ -18,7 +18,6 @@
${LOCALBASE}/share/misc/terminfo.db:${PORTSDIR}/devel/ncurses
USES= pkgconfig shebangfix
-USE_GCC= yes # segfaults when trying to scroll with the mouse wheel if clang
USE_XORG= xpm xft xrender
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -129,6 +128,8 @@
# enable scrolling via mouse wheel or buttons 4 & 5
.if !${PORT_OPTIONS:MMOUSEWHEEL}
CONFIGURE_ARGS+= --disable-mousewheel
+.else
+USE_GCC= yes # segfaults when trying to scroll with the mouse wheel if clang
.endif
# enable smart resize
--- rxvt-unicode-gcc-only-mousewheel.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list