Xfce4-taskmanager Patch for 9.0
Eitan Adler
lists at eitanadler.com
Fri Oct 28 01:16:34 UTC 2011
On Thu, Oct 27, 2011 at 3:58 PM, Cy Schubert <Cy.Schubert at komquats.com> wrote:
> Hi xfce@,
>
> Here's a fix for xfce4-taskmanager under FreeBSD 9.0.
The patch below works for me. Is there any chance of getting upstream
to commit it?
>
> Index: Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/x11/xfce4-taskmanager/Makefile,v
> retrieving revision 1.30
> diff -u -r1.30 Makefile
> --- Makefile 26 Oct 2011 20:27:23 -0000 1.30
> +++ Makefile 27 Oct 2011 19:56:03 -0000
> @@ -7,6 +7,7 @@
>
> PORTNAME= xfce4-taskmanager
> PORTVERSION= 1.0.0
> +PORTREVISION= 1
> CATEGORIES= x11 xfce
> MASTER_SITES= ${MASTER_SITE_XFCE}
> MASTER_SITE_SUBDIR= src/apps/${PORTNAME}/${PORTVERSION:R}
> @@ -26,10 +27,6 @@
>
> .include <bsd.port.pre.mk>
>
> -.if ${OSVERSION} >= 900000
> -BROKEN= does not compile on FreeBSD 9.X
> -.endif
> -
> post-patch:
> @${REINPLACE_CMD} -e 's|prefix)/$$(DATADIRNAME)|datadir)|' \
> ${WRKSRC}/po/Makefile.in.in
> Index: files/patch-task-manager-freebsd.c
> ===================================================================
> RCS file: files/patch-task-manager-freebsd.c
> diff -N files/patch-task-manager-freebsd.c
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ files/patch-task-manager-freebsd.c 27 Oct 2011 19:56:03 -0000
> @@ -0,0 +1,12 @@
> +--- src/task-manager-freebsd.c.orig 2010-05-21 06:29:33.000000000 -0700
> ++++ src/task-manager-freebsd.c 2011-10-27 12:42:24.425260800 -0700
> +@@ -18,6 +18,9 @@
> + #include <fcntl.h>
> + #include <paths.h>
> + #include <unistd.h>
> ++#if defined(__FreeBSD_version) && __FreeBSD_version >= 900044
> ++#include <sys/vmmeter.h>
> ++#endif
> +
> + #include <glib.h>
> +
>
> If you want, I can commit it for you.
--
Eitan Adler
More information about the freebsd-xfce
mailing list