From owner-freebsd-xfce@FreeBSD.ORG Fri Oct 28 01:16:34 2011 Return-Path: Delivered-To: xfce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A10E106564A for ; Fri, 28 Oct 2011 01:16:34 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 958FF8FC12 for ; Fri, 28 Oct 2011 01:16:33 +0000 (UTC) Received: by faar19 with SMTP id r19so4554785faa.13 for ; Thu, 27 Oct 2011 18:16:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=foJfI4HdINGyZbz7huIcwX61NGLDwGB59bNhzxVxckY=; b=tWb71ewU7fXbCrQN6ta0iMwwtRrM+z1V9fIVd/mVU/Yr3YCReTScq7grrx5wUgPQSX 5KTkeD2meljB9B4JJwUVs/J0i3HYvkKo2ccco3V7CvpB6y7EeWTziV17U0WIXWZ0Iqb/ QTxz7srEUe4JJsaS0nFLps2xxLh3em0zI/al4= Received: by 10.223.14.140 with SMTP id g12mr1893007faa.34.1319762763105; Thu, 27 Oct 2011 17:46:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.115.202 with HTTP; Thu, 27 Oct 2011 17:45:32 -0700 (PDT) In-Reply-To: <201110271958.p9RJwwla004755@slippy.cwsent.com> References: <201110271958.p9RJwwla004755@slippy.cwsent.com> From: Eitan Adler Date: Thu, 27 Oct 2011 20:45:32 -0400 Message-ID: To: Cy Schubert Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: xfce@freebsd.org Subject: Re: Xfce4-taskmanager Patch for 9.0 X-BeenThere: freebsd-xfce@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: XFCE for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2011 01:16:34 -0000 On Thu, Oct 27, 2011 at 3:58 PM, Cy Schubert wro= te: > 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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/pcvs/ports/x11/xfce4-taskmanager/Makefile,v > retrieving revision 1.30 > diff -u -r1.30 Makefile > --- Makefile =C2=A0 =C2=A026 Oct 2011 20:27:23 -0000 =C2=A0 =C2=A0 =C2=A0= 1.30 > +++ Makefile =C2=A0 =C2=A027 Oct 2011 19:56:03 -0000 > @@ -7,6 +7,7 @@ > > =C2=A0PORTNAME=3D =C2=A0 =C2=A0 =C2=A0xfce4-taskmanager > =C2=A0PORTVERSION=3D =C2=A0 1.0.0 > +PORTREVISION=3D =C2=A01 > =C2=A0CATEGORIES=3D =C2=A0 =C2=A0x11 xfce > =C2=A0MASTER_SITES=3D =C2=A0${MASTER_SITE_XFCE} > =C2=A0MASTER_SITE_SUBDIR=3D =C2=A0 =C2=A0src/apps/${PORTNAME}/${PORTVERSI= ON:R} > @@ -26,10 +27,6 @@ > > =C2=A0.include > > -.if ${OSVERSION} >=3D 900000 > -BROKEN=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0does no= t compile on FreeBSD 9.X > -.endif > - > =C2=A0post-patch: > =C2=A0 =C2=A0 =C2=A0 =C2=A0@${REINPLACE_CMD} -e 's|prefix)/$$(DATADIRNAME= )|datadir)|' \ > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${WRKSRC}/po/Makef= ile.in.in > Index: files/patch-task-manager-freebsd.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: files/patch-task-manager-freebsd.c > diff -N files/patch-task-manager-freebsd.c > --- /dev/null =C2=A0 1 Jan 1970 00:00:00 -0000 > +++ files/patch-task-manager-freebsd.c =C2=A027 Oct 2011 19:56:03 -0000 > @@ -0,0 +1,12 @@ > +--- src/task-manager-freebsd.c.orig =C2=A0 =C2=A02010-05-21 06:29:33.000= 000000 -0700 > ++++ src/task-manager-freebsd.c 2011-10-27 12:42:24.425260800 -0700 > +@@ -18,6 +18,9 @@ > + #include > + #include > + #include > ++#if defined(__FreeBSD_version) && __FreeBSD_version >=3D 900044 > ++#include > ++#endif > + > + #include > + > > If you want, I can commit it for you. --=20 Eitan Adler