--- trunk/extras/xf86-input-mouse/xf86-input-mouse-1.9.2-r2.smage2 2018/06/08 08:44:56 31147 +++ trunk/extras/xf86-input-mouse/xf86-input-mouse-1.9.2-r2.smage2 2018/06/11 08:53:00 31148 @@ -12,3 +12,12 @@ DEPEND="== virtual/X-ABI-XINPUT-24.1" sminclude xorg + +src_compile() +{ + cd ${SRCDIR} + + # fix build with gcc-8.1 + xorg_src_configure --disable-selective-werror || die + mmake || die +}