pkgsrc/lang/icon/patches/patch-aa
jtb be443f0c5e Update to version 9.4.2.
Notable changes in this latest version are listed here. Some code
   cleanup work and documentation editing has also been done.

  256-color limit removed

   Icon's X-windows interface previously limited each window to 256
   colors at one time. This limitation has been removed for the TrueColor
   displays provided by most modern computers. Median-cut quantization is
   used to select 256 image colors when WriteImage() is called to write a
   GIF file.

  Library changes

   As usual, several files in the Icon program library have been added or
   edited. The core library files, however, remain stable.

  Minor changes

     * The command "icon - [args]" can now be used to execute a source
       program read from standard input.
     * A new "icont -N" flag suppresses embedding of an iconx path in the
       generated executable
     * The configuration directory has been restructured.
     * Several obsolete configurations have been removed.
     * The environment variables HEAPSIZE and BLOCKSIZE no longer
       function as undocumented alternatives to BLKSIZE. The GNU ls
       utility uses BLOCKSIZE for other purposes, leading to confusion.
     * "make Install" has been changed to never delete anything. It now
       creates a new directory rather than altering an existing one.
2003-06-06 08:58:42 +00:00

22 lines
624 B
Text

$NetBSD: patch-aa,v 1.7 2003/06/06 08:58:42 jtb Exp $
--- config/setup.sh.orig
+++ config/setup.sh
@@ -12,7 +12,7 @@
# check parameters
case "$GPX" in
- Graphics) XL='-L../../bin -lIgpx $(XLIBS)';;
+ Graphics) XL='-L../../lib/icon -lIgpx $(XLIBS)';;
NoGraphics) XL= ;;
*) echo "$USAGE" 1>&2; exit 1;;
esac
@@ -31,7 +31,7 @@
# find and copy the context switch code.
# use pthreads version if specified, or as a last resort.
# by default, look for `uname -m`.[cs] and then rswitch.[cs].
-ARCH=`uname -m`
+ARCH=`uname -p`
if [ "$CSW" = "pthreads" ]; then
RSW=pthreads.c
COCLEAN="#define CoClean"