Date: Mon, 31 May 2004 00:31:04 +0300 From: Andrey Slusar <vasallia@ukr.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dominic.marks@btinternet.com Subject: ports/67400: [PATCH] x11-wm/hackedbox: fix compiling whith freebsd 5.x Message-ID: <E1BUXtY-0004gk-P4@santinel.home.ua> Resent-Message-ID: <200405302250.i4UMoLtt078126@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 67400 >Category: ports >Synopsis: [PATCH] x11-wm/hackedbox: fix compiling whith freebsd 5.x >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 30 15:50:21 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Andrey Slusar >Release: FreeBSD 5.2-CURRENT i386 >Organization: Santinel >Environment: System: FreeBSD santinel.home.ua 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Fri May 28 16:44:48 EEST 2004 root@santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386 >Description: Maintainer CC'ed fix compiling whith freebsd 5.x >How-To-Repeat: N/A >Fix: --- hackedbox.diff begins here --- diff -ruN hackedbox/Makefile hackedbox.new/Makefile --- hackedbox/Makefile Thu Dec 25 02:08:05 2003 +++ hackedbox.new/Makefile Sun May 30 23:13:18 2004 @@ -28,13 +28,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-bg-utils -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile on FreeBSD ${OSVERSION}" -.endif - -do-patch: +pre-patch: ${REINPLACE_CMD} -e \ "s:/usr/local/share/hackedbox:${PREFIX}/share/hackedbox:g" \ ${WRKSRC}/data/menu.in @@ -97,4 +91,4 @@ .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -ruN hackedbox/files/patch-Window.cc hackedbox.new/files/patch-Window.cc --- hackedbox/files/patch-Window.cc Thu Jan 1 03:00:00 1970 +++ hackedbox.new/files/patch-Window.cc Sun May 30 23:02:39 2004 @@ -0,0 +1,10 @@ +--- src/Window.cc.old Sun May 30 23:00:42 2004 ++++ src/Window.cc Sun May 30 23:02:02 2004 +@@ -44,6 +44,7 @@ + #endif // HAVE_STDLIB_H + } + ++#include <cassert> + #include "i18n.hh" + #include "blackbox.hh" + #include "GCCache.hh" --- hackedbox.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BUXtY-0004gk-P4>