diff options
author | thierry <thierry@FreeBSD.org> | 2014-03-13 05:57:05 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2014-03-13 05:57:05 +0800 |
commit | a3823468c4d64b2fab8b0151edf89209825d650d (patch) | |
tree | 0d21ee8ab724174f5b41d0da82b7cb63052d898d /x11 | |
parent | dc3ecf691ce13281558f736c2e99a59936e03127 (diff) | |
download | freebsd-ports-gnome-a3823468c4d64b2fab8b0151edf89209825d650d.tar.gz freebsd-ports-gnome-a3823468c4d64b2fab8b0151edf89209825d650d.tar.zst freebsd-ports-gnome-a3823468c4d64b2fab8b0151edf89209825d650d.zip |
Do not require GCC anymore: mousewheel is now supported with clang!
Since I'm there, do some cleaning and follow the new rules.
PR: ports/187462
Submitted by: Christophe Juniet <c.juniet (at) gmail.com>
Diffstat (limited to 'x11')
-rw-r--r-- | x11/rxvt-unicode/Makefile | 9 | ||||
-rw-r--r-- | x11/rxvt-unicode/files/patch-src_rxvt.h | 11 |
2 files changed, 14 insertions, 6 deletions
diff --git a/x11/rxvt-unicode/Makefile b/x11/rxvt-unicode/Makefile index 6590b0627712..ad7bdd4c1488 100644 --- a/x11/rxvt-unicode/Makefile +++ b/x11/rxvt-unicode/Makefile @@ -3,7 +3,7 @@ PORTNAME= rxvt-unicode PORTVERSION= 9.19 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= http://dist.schmorp.de/rxvt-unicode/%SUBDIR%/ MASTER_SITE_SUBDIR= . Attic @@ -18,14 +18,13 @@ BUILD_DEPENDS= tic:${PORTSDIR}/devel/ncurses \ RUN_DEPENDS= ${LOCALBASE}/bin/fc-cache:${PORTSDIR}/x11-fonts/fontconfig \ ${LOCALBASE}/share/misc/terminfo.db:${PORTSDIR}/devel/ncurses -USES= pkgconfig shebangfix +USES= pkgconfig shebangfix tar:bzip2 USE_XORG= xpm xft xrender GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ENV= LIBS="-lstdc++ -lutil" TIC=${LOCALBASE}/bin/tic CONFIGURE_ARGS= --enable-everything --with-term=rxvt \ --with-terminfo=${LOCALBASE}/share/misc/terminfo.db -USE_BZIP2= yes OPTIONS_DEFINE= PERL XIM UNICODE3 ISO14755 COMBINING RXVT_SCROLLBAR \ NEXT_SCROLLBAR XTERM_SCROLLBAR BACKSPACE_KEY DELETE_KEY \ @@ -129,8 +128,6 @@ CONFIGURE_ARGS+= --disable-delete-key # 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 @@ -153,7 +150,7 @@ CONFIGURE_ARGS+= --enable-pixbuf CONFIGURE_ARGS+= --disable-startup-notification .else CONFIGURE_ARGS+= --enable-startup-notification -LIB_DEPENDS+= startup-notification-1:${PORTSDIR}/x11/startup-notification +LIB_DEPENDS+= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification .endif # enable support for 256 colors diff --git a/x11/rxvt-unicode/files/patch-src_rxvt.h b/x11/rxvt-unicode/files/patch-src_rxvt.h new file mode 100644 index 000000000000..ec6841ea2f19 --- /dev/null +++ b/x11/rxvt-unicode/files/patch-src_rxvt.h @@ -0,0 +1,11 @@ +--- src/rxvt.h.orig 2013-10-03 01:05:18.000000000 +0200 ++++ src/rxvt.h 2014-03-12 22:52:58.000000000 +0100 +@@ -1540,7 +1540,7 @@ + bool scr_page (int nlines) NOTHROW; + bool scr_page (enum page_dirn direction, int nlines) NOTHROW + { +- scr_page (direction * nlines); ++ return scr_page (direction * nlines); + } + bool scr_changeview (int new_view_start) NOTHROW; + void scr_bell () NOTHROW; |