From wvengen@stack.nl  Thu Feb 19 13:07:06 2004
Return-Path: <wvengen@stack.nl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D235216A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Feb 2004 13:07:06 -0800 (PST)
Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A8F6943D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Feb 2004 13:07:06 -0800 (PST)
	(envelope-from wvengen@stack.nl)
Received: from toad.stack.nl (zen.stack.nl [2001:610:1108:5010::130])
	by mailhost.stack.nl (Postfix) with ESMTP id 40352579#958741F001
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Feb 2004 22:07:05 +0100 (CET)
Received: by toad.stack.nl (Postfix, from userid 1598)
	id 7A50C8A; Thu, 19 Feb 2004 22:07:05 +0100 (CET)
Message-Id: <20040219210705.7A50C8A@toad.stack.nl>
Date: Thu, 19 Feb 2004 22:07:05 +0100 (CET)
From: Willem van Engen <wvengen@stack.nl>
Reply-To: Willem van Engen <wvengen@stack.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: misc/cheatah: unbreak 5.x 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         63081
>Category:       ports
>Synopsis:       Update port: misc/cheatah: unbreak 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 19 13:10:31 PST 2004
>Closed-Date:    Mon Feb 23 14:57:25 PST 2004
>Last-Modified:  Mon Feb 23 14:57:25 PST 2004
>Originator:     Willem van Engen
>Release:        
>Organization:
>Environment:
>Description:
	Port didn't build on 5.x
>How-To-Repeat:
>Fix:
	assert.h had to be included

--- cheatah-assert.diff begins here ---
diff -ruN /usr/ports/misc/cheatah/Makefile misc/cheatah/Makefile
--- /usr/ports/misc/cheatah/Makefile	Wed Feb 18 03:32:25 2004
+++ misc/cheatah/Makefile	Thu Feb 19 20:47:07 2004
@@ -29,10 +29,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 500113
-BROKEN=		"Does not compile on FreeBSD ${OSVERSION}"
-.endif
-
 post-patch:
 	@${CHMOD} a+x ${WRKSRC}/configure
 
diff -ruN /usr/ports/misc/cheatah/files/patch-cheatah.cpp misc/cheatah/files/patch-cheatah.cpp
--- /usr/ports/misc/cheatah/files/patch-cheatah.cpp	Thu Jan  1 01:00:00 1970
+++ misc/cheatah/files/patch-cheatah.cpp	Thu Feb 19 21:55:08 2004
@@ -0,0 +1,11 @@
+diff -ruN cheatah.cpp cheatah.cpp
+--- cheatah.cpp	Thu Feb 19 21:50:28 2004
++++ cheatah.cpp	Thu Feb 19 21:50:32 2004
+@@ -28,6 +28,7 @@
+ #include <gbfplain.h>
+ #include <thmlplain.h>
+ #include <string.h>
++#include <assert.h>
+ 
+ using namespace sword;
+ using namespace std;
diff -ruN /usr/ports/misc/cheatah/files/patch-cheatsig.cpp misc/cheatah/files/patch-cheatsig.cpp
--- /usr/ports/misc/cheatah/files/patch-cheatsig.cpp	Thu Jan  1 01:00:00 1970
+++ misc/cheatah/files/patch-cheatsig.cpp	Thu Feb 19 21:55:29 2004
@@ -0,0 +1,11 @@
+iff -ruN cheatsig.cpp cheatsig.cpp
+--- cheatsig.cpp	Thu Feb 19 21:50:28 2004
++++ cheatsig.cpp	Thu Feb 19 21:50:39 2004
+@@ -20,6 +20,7 @@
+ */
+ 
+ #include <gtk/gtk.h>
++#include <assert.h>
+ #include "cheatah.h"
+ #include "cheatsig.h"
+ 
--- cheatah-assert.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sun Feb 22 16:18:55 PST 2004 
State-Changed-Why:  
When I try to install this on 5.x without sword previously 
having been installed, it fails, with: 

===>  Installing for cheatah-1.5.5 
===>   cheatah-1.5.5 depends on file: /usr/local/share/sword/mods.d - found 
===>   cheatah-1.5.5 depends on executable: pkg-config - found 
===>   Generating temporary packing list 
** Missing package files for cheatah-1.5.5. 
*** Error code 1 

Can the submitter confirm this? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63081 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Mon Feb 23 14:57:15 PST 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63081 
>Unformatted:
 
