Date: Mon, 24 Jan 2005 23:27:14 +0100 (CET) From: Johan van Selst <johans@stack.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/76635: games/KnightCap: fix compilation on FreeBSD >= 5.x Message-ID: <20050124222714.01F9C504@mud.stack.nl> Resent-Message-ID: <200501242230.j0OMUSsP008503@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 76635 >Category: ports >Synopsis: games/KnightCap: fix compilation on FreeBSD >= 5.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Jan 24 22:30:28 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Johan van Selst >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD mud.stack.nl 5.3-STABLE FreeBSD 5.3-STABLE #3: Thu Jan 13 13:11:19 CET 2005 root@mud.stack.nl:/usr/local/spare1/TEMP/obj/usr/src/sys/mud i386 >Description: Patch is quite trivial: remove two conflicting functions, which are never used anyway. I'm not sure what this program is supposed to do exactly though; so just sending it off in the spirit of "it compiles: ship it!" >How-To-Repeat: >Fix: Add this patch as files/patch-knightcap.h: --- knightcap.h Mon Jan 24 22:20:22 2005 +++ knightcap.h Mon Jan 24 22:17:19 2005 @@ -632,16 +632,6 @@ return i1 > i2? i1 : i2; } -static inline float fmin(float i1, float i2) -{ - return i1 > i2? i2 : i1; -} - -static inline float fmax(float i1, float i2) -{ - return i1 > i2? i1 : i2; -} - static inline etype emin(etype i1, etype i2) { return i1 > i2? i2 : i1; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050124222714.01F9C504>