Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/graphics
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv6502

Modified Files:
        libpng3.info 
Added Files:
        libpng3.patch 
Log Message:
fix the assembler problem


--- NEW FILE: libpng3.patch ---
diff -ruN libpng-1.2.12/scripts/makefile.darwin 
libpng-1.2.12-patched/scripts/makefile.darwin
--- libpng-1.2.12/scripts/makefile.darwin       2006-06-27 16:22:40.000000000 
-0400
+++ libpng-1.2.12-patched/scripts/makefile.darwin       2006-08-02 
21:17:33.000000000 -0400
@@ -38,7 +38,7 @@
 RANLIB=ranlib
 RM_F=/bin/rm -f
 
-CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops
+CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops -DPNG_NO_ASSEMBLER_CODE
 LDFLAGS=-L. -L$(ZLIBLIB) -lpng12 -lz
 
 INCPATH=$(prefix)/include

Index: libpng3.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/graphics/libpng3.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- libpng3.info        2 Aug 2006 18:02:52 -0000       1.2
+++ libpng3.info        3 Aug 2006 01:34:51 -0000       1.3
@@ -1,6 +1,6 @@
 Package: libpng3
 Version: 1.2.12
-Revision: 1
+Revision: 2
 Epoch: 1
 Depends: %N-shlibs (= %e:%v-%r), pkgconfig
 BuildDepends: fink (>= 0.9.9-1)
@@ -14,6 +14,7 @@
 Replaces: libpng
 Source: mirror:sourceforge:libpng/libpng-%v.tar.bz2
 Source-MD5: 2287cfaad53a714acdf6eb75a7c1d15f
+Patch: %n.patch
 CompileScript: <<
  ln -s scripts/makefile.darwin Makefile
  make DESTDIR= prefix=%p ZLIBLIB=/usr/lib ZLIBINC=/usr/include 
MANPATH='$(prefix)/share/man'
@@ -42,6 +43,8 @@
 Makefile was written by Christoph Pfisterer for the Fink project and 
 accepted by the upstream maintainers of libpng.
 
+We can't use assembler on intel hardware yet, so we patch it out.
+
 Previous versions by Christoph Pfisterer.
 
 This package is named libpng3 because in version 1.2.1 the major version


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to