pkgsrc/cad/boolean/patches/patch-aa
dholland 2aa65c624f Fix undefined behavior (promoted from a warning to an error in recent gcc)
by casting string objects to const char * before passing to printf.

While here, switch PKG_DESTDIR_SUPPORT from "destdir" to "user-destdir"
(no reason I can see for the former, it appears to date way back) and
add patch comments.

PKGREVISION -> 9, since with netbsd-5 and older -current the issue wasn't
fatal at compile time.
2012-01-03 01:18:46 +00:00

15 lines
385 B
Text

$NetBSD: patch-aa,v 1.6 2012/01/03 01:18:46 dholland Exp $
Configure for pkgsrc.
--- bin/boolean.sh.orig 2007-02-27 08:54:20.000000000 +0100
+++ bin/boolean.sh
@@ -1,7 +1,5 @@
#! /bin/sh
-PATH=/opt/protools/boolean/6.6/boolean/apps/edit:$PATH
-
-GDSROOT=/opt/protools/boolean/6.6/boolean/apps/edit
+GDSROOT=@prefix@/share/boolean
export GDSROOT
echo "boolean operation program"