From ece42e19daf2dacc234967221ca02aeb26780fa8 Mon Sep 17 00:00:00 2001
From: joerg <joerg>
Date: Wed, 17 Dec 2008 16:52:35 +0000
Subject: Update to libfirm-1.15.0: * Implementation of Clicks Combined
 Analysis/Optimisations * New switch lowering code * support for global asm
 statements * improved asm support * PIC support for Mac OS X * New register
 pressure minimizing scheduler * Improvements to spill algorithm * fix endless
 loop problems * further improve inlining heuristics * improve peephole
 optimisations for x86 * bugfixes

---
 devel/libfirm/Makefile         |  8 +++-----
 devel/libfirm/PLIST            |  9 +--------
 devel/libfirm/buildlink3.mk    |  4 ++--
 devel/libfirm/distinfo         | 12 ++++--------
 devel/libfirm/patches/patch-aa | 21 ---------------------
 devel/libfirm/patches/patch-ab | 19 -------------------
 devel/libfirm/patches/patch-ac | 19 -------------------
 devel/libfirm/patches/patch-ad | 19 -------------------
 8 files changed, 10 insertions(+), 101 deletions(-)
 delete mode 100644 devel/libfirm/patches/patch-aa
 delete mode 100644 devel/libfirm/patches/patch-ab
 delete mode 100644 devel/libfirm/patches/patch-ac
 delete mode 100644 devel/libfirm/patches/patch-ad

diff --git a/devel/libfirm/Makefile b/devel/libfirm/Makefile
index 97f535d2677..0a3d7972cb8 100644
--- a/devel/libfirm/Makefile
+++ b/devel/libfirm/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/11/28 01:14:45 bjs Exp $
+# $NetBSD: Makefile,v 1.2 2008/12/17 16:52:35 joerg Exp $
 #
 
-DISTNAME=	libfirm-1.13.0
+DISTNAME=	libfirm-1.15.0
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=libfirm/}
 EXTRACT_SUFX=	.tar.bz2
@@ -14,7 +14,7 @@ PKG_DESTDIR_SUPPORT=	user-destdir
 
 GNU_CONFIGURE=	yes
 USE_LIBTOOL=	yes
-USE_TOOLS+=	autoconf automake autoreconf pkg-config
+USE_TOOLS+=	pkg-config
 
 PKGCONFIG_OVERRIDE+=	libfirm.pc.in
 
@@ -22,8 +22,6 @@ PKGCONFIG_OVERRIDE+=	libfirm.pc.in
 CONFIGURE_ARGS+=	--enable-wchar-support
 .endif
 
-pre-configure:
-	cd ${WRKSRC} && autoreconf -v -i -f
 #
 # NOTE: jvm support requires dlopen/dlsym
 #.include "../../mk/dlopen.buildlink3.mk"
diff --git a/devel/libfirm/PLIST b/devel/libfirm/PLIST
index ec60eeeb6a0..1230009f538 100644
--- a/devel/libfirm/PLIST
+++ b/devel/libfirm/PLIST
@@ -1,13 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/11/28 01:14:45 bjs Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/12/17 16:52:35 joerg Exp $
 include/libfirm/absgraph.h
 include/libfirm/adt/align.h
 include/libfirm/adt/array.h
 include/libfirm/adt/bipartite.h
-include/libfirm/adt/bitfiddle.h
-include/libfirm/adt/bitset.h
-include/libfirm/adt/bitset_ia32.h
-include/libfirm/adt/bitset_std.h
-include/libfirm/adt/compiler.h
 include/libfirm/adt/cpset.h
 include/libfirm/adt/eset.h
 include/libfirm/adt/fourcc.h
@@ -34,7 +29,6 @@ include/libfirm/adt/unionfind.h
 include/libfirm/adt/util.h
 include/libfirm/adt/xmalloc.h
 include/libfirm/analyze_irg_args.h
-include/libfirm/archop.h
 include/libfirm/be.h
 include/libfirm/callgraph.h
 include/libfirm/cdep.h
@@ -46,7 +40,6 @@ include/libfirm/execution_frequency.h
 include/libfirm/field_temperature.h
 include/libfirm/firm.h
 include/libfirm/firm_common.h
-include/libfirm/firm_config.h
 include/libfirm/firm_types.h
 include/libfirm/firm_ycomp.h
 include/libfirm/firmstat.h
diff --git a/devel/libfirm/buildlink3.mk b/devel/libfirm/buildlink3.mk
index 64f22205ceb..981bd3855a6 100644
--- a/devel/libfirm/buildlink3.mk
+++ b/devel/libfirm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/11/28 01:14:45 bjs Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2008/12/17 16:52:35 joerg Exp $
 
 BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
 LIBFIRM_BUILDLINK3_MK:=	${LIBFIRM_BUILDLINK3_MK}+
@@ -12,7 +12,7 @@ BUILDLINK_PACKAGES+=	libfirm
 BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libfirm
 
 .if ${LIBFIRM_BUILDLINK3_MK} == "+"
-BUILDLINK_API_DEPENDS.libfirm+=	libfirm>=1.13.0
+BUILDLINK_API_DEPENDS.libfirm+=	libfirm>=1.15.0
 BUILDLINK_PKGSRCDIR.libfirm?=	../../devel/libfirm
 .endif	# LIBFIRM_BUILDLINK3_MK
 
diff --git a/devel/libfirm/distinfo b/devel/libfirm/distinfo
index 24316103cdc..96424e37599 100644
--- a/devel/libfirm/distinfo
+++ b/devel/libfirm/distinfo
@@ -1,9 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/11/28 01:14:45 bjs Exp $
+$NetBSD: distinfo,v 1.2 2008/12/17 16:52:35 joerg Exp $
 
-SHA1 (libfirm-1.13.0.tar.bz2) = 4e0fc008f20fe7d92328db9991d0f12d2ec4aa76
-RMD160 (libfirm-1.13.0.tar.bz2) = 0c3ce0285482b7fe0196d7e2a2bc3f3e8fa7351a
-Size (libfirm-1.13.0.tar.bz2) = 1548777 bytes
-SHA1 (patch-aa) = a19f5a65cf9ad07a1fdc2e9946d1c0ef63f7e0a5
-SHA1 (patch-ab) = 524535d4ac025bff2d8f37f9494ee5da307613fc
-SHA1 (patch-ac) = 6c64452d96654adb1bed5ed8f31e5b72e782a063
-SHA1 (patch-ad) = 60672bed0323094b7f857d94bab19d83ac99f6ae
+SHA1 (libfirm-1.15.0.tar.bz2) = 39fe688de42b6dae51b7413e52a2b4097c93187b
+RMD160 (libfirm-1.15.0.tar.bz2) = b62b00daffcceb018a7c516fb53f9411fa433bd0
+Size (libfirm-1.15.0.tar.bz2) = 1527744 bytes
diff --git a/devel/libfirm/patches/patch-aa b/devel/libfirm/patches/patch-aa
deleted file mode 100644
index b5f8ad23bee..00000000000
--- a/devel/libfirm/patches/patch-aa
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2008/11/28 01:14:45 bjs Exp $
-
---- configure.ac.orig	2008-07-24 03:24:54.000000000 -0400
-+++ configure.ac
-@@ -181,6 +181,7 @@ dnl ========================
- 
- AC_HEADER_STDC
- AC_CHECK_HEADERS([math.h], , AC_MSG_ERROR("math header file not found"))
-+AC_CHECK_HEADERS([alloca.h stdlib.h])
- 
- dnl Checks for libraries.
- dnl =====================
-@@ -228,7 +229,7 @@ AC_CONFIG_FILES([
- ])
- 
- BACKENDS=""
--if test "$enable_backend" == yes; then
-+if test "$enable_backend" = yes; then
- 	BACKENDS="arm ia32 mips ppc32"
- fi
- AC_SUBST([BACKENDS])
diff --git a/devel/libfirm/patches/patch-ab b/devel/libfirm/patches/patch-ab
deleted file mode 100644
index 18f53a7f2a5..00000000000
--- a/devel/libfirm/patches/patch-ab
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2008/11/28 01:14:45 bjs Exp $
-
---- include/libfirm/adt/xmalloc.h.orig	2008-02-18 09:19:20.000000000 -0500
-+++ include/libfirm/adt/xmalloc.h
-@@ -41,12 +41,9 @@ char *xstrdup(const char *str);
- #define xfree(ptr)      free(ptr)
- 
- 
--/* Includes for alloca() */
--#if defined(__FreeBSD__)
--#include <stdlib.h>
--#elif defined(_WIN32)
-+#if defined(_WIN32)
- #include <malloc.h>
--#else
-+#elif defined(HAVE_ALLOCA_H)
- #include <alloca.h>
- #endif
- 
diff --git a/devel/libfirm/patches/patch-ac b/devel/libfirm/patches/patch-ac
deleted file mode 100644
index ec7b0f5797f..00000000000
--- a/devel/libfirm/patches/patch-ac
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2008/11/28 01:14:45 bjs Exp $
-
---- ir/libcore/lc_opts.c.orig	2008-05-14 03:12:54.000000000 -0400
-+++ ir/libcore/lc_opts.c
-@@ -22,11 +22,12 @@
- #include <string.h>
- #include <ctype.h>
- 
--#if defined(__FreeBSD__)
-+#if defined(HAVE_STDLIB_H)
- #include <stdlib.h>
- #elif defined(_WIN32)
- #include <malloc.h>
--#else
-+#endif
-+#if defined(HAVE_ALLOCA_H)
- #include <alloca.h>
- #endif
- 
diff --git a/devel/libfirm/patches/patch-ad b/devel/libfirm/patches/patch-ad
deleted file mode 100644
index b7febc2e1da..00000000000
--- a/devel/libfirm/patches/patch-ad
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2008/11/28 01:14:45 bjs Exp $
-
---- ir/libcore/lc_opts_enum.c.orig	2008-02-13 10:28:59.000000000 -0500
-+++ ir/libcore/lc_opts_enum.c
-@@ -14,11 +14,12 @@
- #include <stdio.h>
- #include <string.h>
- 
--#if defined(__FreeBSD__)
-+#if defined(HAVE_STDLIB_H)
- #include <stdlib.h>
- #elif defined(_WIN32)
- #include <malloc.h>
--#else
-+#endif
-+#if defined(HAVE_ALLOCA_H)
- #include <alloca.h>
- #endif
- 
-- 
cgit v1.2.3