Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs
In directory vz-cvs-3.sog:/tmp/cvs-serv11495/libs

Added Files:
        liboil-0.3.info liboil-0.3.patch 
Log Message:
move to 10.7 with heinous fix for clang

--- NEW FILE: liboil-0.3.patch ---
diff -Nurd liboil-0.3.17/configure.ac liboil-0.3.17-new/configure.ac
--- liboil-0.3.17/configure.ac  2010-02-04 15:34:59.000000000 -0500
+++ liboil-0.3.17-new/configure.ac      2010-02-12 10:25:12.000000000 -0500
@@ -24,6 +24,7 @@
 AC_LIBTOOL_TAGS([])
 AC_PROG_LIBTOOL
 AM_PROG_AS
+AM_PROG_CC_C_O
 
 AC_CONFIG_SRCDIR([liboil/liboil.h])
 AC_CONFIG_MACRO_DIR([m4])
@@ -171,8 +172,8 @@
   AS_COMPILER_FLAG(-Werror, LIBOIL_CFLAGS="$LIBOIL_CFLAGS -Werror")
 fi
 if test x$HAVE_GCC_ASM = xyes -a x$HAVE_POWERPC = xyes ; then
-  AS_COMPILER_FLAG(["-Wa,-maltivec"],
-    [LIBOIL_CFLAGS="$LIBOIL_CFLAGS -Wa,-maltivec"],
+  AS_COMPILER_FLAG(["-maltivec"],
+    [LIBOIL_CFLAGS="$LIBOIL_CFLAGS -maltivec"],
     true)
   AS_COMPILER_FLAG(["-Wa,-mregnames"],
     [LIBOIL_CFLAGS="$LIBOIL_CFLAGS -Wa,-mregnames"],
diff -Nurd liboil-0.3.17/liboil/liboiltypes.h 
liboil-0.3.17-new/liboil/liboiltypes.h
--- liboil-0.3.17/liboil/liboiltypes.h  2007-11-15 21:53:47.000000000 -0500
+++ liboil-0.3.17-new/liboil/liboiltypes.h      2010-02-12 13:01:27.000000000 
-0500
@@ -30,19 +30,11 @@
 
 #include <liboil/liboilutils.h>
 #include <liboil/liboil-stdint.h>
+#include <stddef.h>
 
 OIL_BEGIN_DECLS
 
 /**
- * NULL:
- *
- * FIXME: gtk-doc is broken and doesn't know how to ignore this.
- */
-#ifndef NULL
-#define NULL ((void *)0)
-#endif
-
-/**
  * SECTION:liboiltypes
  * @short_description: Internal Liboil types
  */

--- NEW FILE: liboil-0.3.info ---
Info4: <<
Package: liboil-0.3
Version: 0.3.17
Revision: 3
Description: CPU optimization library
License: BSD
Maintainer: Benjamin Reed <[email protected]>

Depends: %N-shlibs (>= %v-%r)
BuildDepends: <<
        autoconf2.6,
        automake1.11,
        fink (>= 0.29.7-1),
        glib2-dev (>= 2.22.0-1),
        gtk-doc (>= 1.13-5),
        libtool2,
        pkgconfig (>= 0.23-1)
<<
BuildDependsOnly: true
InfoTest: TestScript: make check || exit 2

Source: http://liboil.freedesktop.org/download/liboil-%v.tar.gz
Source-MD5: 47dc734f82faeb2964d97771cfd2e701
SourceDirectory: liboil-%v
PatchScript: <<
        %{default_script}
        autoreconf -fvi
<<
PatchFile: %n.patch
PatchFile-MD5: da2950ad2022424d8b170c84e6349d7b

SetCFLAGS: -Os -fheinous-gnu-extensions
SetCPPFLAGS: -Os
SetMAKEFLAGS: -j1
NoSetMAKEFLAGS: true
ConfigureParams: --build=%m-apple-darwin`uname -r|cut -f1 -d.` --enable-gtk-doc 
--mandir=%p/share/man --infodir=%p/share/info --disable-dependency-tracking 
--enable-prototype-checking 
PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH"
CompileScript: <<
#!/bin/sh -ex

        if [ "%m" = "powerpc" ]; then
                export CPPFLAGS="$CPPFLAGS -force_cpusubtype_ALL"
        fi

        export CCACHE_DISABLE=1
        ./configure %c
        make
        pushd testsuite
        make check
        popd
<<

InstallScript: make -j1 install DESTDIR=%d
DocFiles: AUTHORS BUG-REPORTING COPYING HACKING NEWS README
SplitOff: <<
        Package: %N-shlibs
        Description: Shared libraries for liboil
        DocFiles: COPYING
        Files: lib/liboil-0.3.*.dylib
        Shlibs: %p/lib/liboil-0.3.0.dylib 4.0.0 %n (>= 0.3.15-1)
<<

Homepage: http://liboil.freedesktop.org/wiki/
DescDetail: <<
Liboil is a library of simple functions that are optimized for various CPUs.
These functions are generally loops implementing simple algorithms, such as
converting an array of N integers to floating-point numbers or multiplying
and summing an array of N numbers.  Such functions are candidates for
significant optimization using various techniques, especially by using
extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.).

Many multimedia applications and libraries already do similar things
internally.  The goal of this project is to consolidate some of the code
used by various multimedia projects, and also make optimizations easier to
use by a broader range of applications.
<<
<<



------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to