Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 21:28:59 +0100
From:      Zsolt Udvari <udvzsolt@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        udvzsolt@gmail.com
Subject:   ports/186107: [patch] rxvt-unicode should use gcc only wants enable mousewheel
Message-ID:  <52e41ef9.49d50e0a.522f.ffffc7d0@mx.google.com>
Resent-Message-ID: <201401252040.s0PKe0HJ027671@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52e41ef9.49d50e0a.522f.ffffc7d0>