Subject: pkg/5626: libpng does not compile on alpha
To: None <gnats-bugs@gnats.netbsd.org>
From: Tim Rightnour <root@polaris.garbled.net>
List: netbsd-bugs
Date: 06/19/1998 23:42:59
>Number:         5626
>Category:       pkg
>Synopsis:       libpng does not compile on alpha
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 19 23:35:01 1998
>Last-Modified:
>Originator:     Tim Rightnour
>Organization:
Tim Rightnour    -  root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html
>Release:        6/10/98<NetBSD-current source date>
>Environment:
	
System: NetBSD polaris 1.3 NetBSD 1.3 (POLARIS) #0: Thu Mar 26 13:17:18 MST 1998 root@polaris:/usr/src/sys/arch/i386/compile/POLARIS i386


>Description:
libpng builds it's shared library with -Bforcearchive.  This option
breaks on alpha.  Removed the -Bforcearchive, it works on alpha, and
compiling both ways on an i386, then running cmp on the files shows
no differences.
	
>How-To-Repeat:
alpha: cd graphics/png && make
	
>Fix:
Replace patch-aa:

begin 664 patch-aa
M+2TM(&UA:V5F:6QE+F]R:6<)1G)I($UA>2`Q-B`P-SHU,SHS,"`Q.3DW"BLK
M*R!M86ME9FEL90E4:'4@3V-T("`R(#$V.C0X.C4Y(#$Y.3<*0$`@+34L,CD@
M*S4L-#$@0$`*(",@5VAE<F4@=&AE('IL:6(@;&EB<F%R>2!A;F0@:6YC;'5D
M92!F:6QE<R!A<F4@;&]C871E9`H@(UI,24),24(]+W5S<B]L;V-A;"]L:6(*
M("-:3$E"24Y#/2]U<W(O;&]C86PO:6YC;'5D90HM6DQ)0DQ)0CTN+B]Z;&EB
M"BU:3$E"24Y#/2XN+WIL:6(**R-:3$E"3$E"/2XN+WIL:6(**R-:3$E"24Y#
M/2XN+WIL:6(*(`HM0T,]8V,*+4-&3$%'4STM220H6DQ)0DE.0RD@+4\@(R`M
M9R`M1%!.1U]$14)51STQ"BU,1$9,04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