[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] Nasm lbuilds



weitere Nasm Lbuilds
From b9dbc9a721f24b59833fe476dae48b85fc095e6e Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Fri, 28 Jan 2011 23:49:46 +0100
Subject: [PATCH 01/16] neuer lbuild Nasm 2.06rc1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc1 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc1/files/build.patch   |   69 ++++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc1/nasm-2.06rc1.lbuild |   49 +++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc1/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc1/nasm-2.06rc1.lbuild

diff --git a/lbuilds/nasm/2.06rc1/files/build.patch b/lbuilds/nasm/2.06rc1/files/build.patch
new file mode 100644
index 0000000..4a9c898
--- /dev/null
+++ b/lbuilds/nasm/2.06rc1/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc1/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc1/compiler.h
++++ src/nasm-2.06rc1/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc1/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc1/nasmlib.h
++++ src/nasm-2.06rc1/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc1/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc1/rdoff/rdfdump.c
++++ src/nasm-2.06rc1/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc1/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc1/rdoff/rdoff.c
++++ src/nasm-2.06rc1/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc1/nasm-2.06rc1.lbuild b/lbuilds/nasm/2.06rc1/nasm-2.06rc1.lbuild
new file mode 100644
index 0000000..ac62a29
--- /dev/null
+++ b/lbuilds/nasm/2.06rc1/nasm-2.06rc1.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc1/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From ccc9732c893083d45b051a6b22931c077f535792 Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 00:11:00 +0100
Subject: [PATCH 02/16] neuer lbuild Nasm 2.06rc3
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc3 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc3/files/build.patch   |   69 ++++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc3/nasm-2.06rc3.lbuild |   49 +++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc3/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc3/nasm-2.06rc3.lbuild

diff --git a/lbuilds/nasm/2.06rc3/files/build.patch b/lbuilds/nasm/2.06rc3/files/build.patch
new file mode 100644
index 0000000..9edb218
--- /dev/null
+++ b/lbuilds/nasm/2.06rc3/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc3/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc3/compiler.h
++++ src/nasm-2.06rc3/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc3/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc3/nasmlib.h
++++ src/nasm-2.06rc3/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc3/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc3/rdoff/rdfdump.c
++++ src/nasm-2.06rc3/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc3/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc3/rdoff/rdoff.c
++++ src/nasm-2.06rc3/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc3/nasm-2.06rc3.lbuild b/lbuilds/nasm/2.06rc3/nasm-2.06rc3.lbuild
new file mode 100644
index 0000000..b400528
--- /dev/null
+++ b/lbuilds/nasm/2.06rc3/nasm-2.06rc3.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc3/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From 3fa506baa022ba1f9f2a08b12bf63bb1195f87b7 Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 00:12:36 +0100
Subject: [PATCH 03/16] neuer lbuild Nasm 2.06rc4
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc4 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc4/files/build.patch   |   69 ++++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc4/nasm-2.06rc4.lbuild |   49 +++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc4/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc4/nasm-2.06rc4.lbuild

diff --git a/lbuilds/nasm/2.06rc4/files/build.patch b/lbuilds/nasm/2.06rc4/files/build.patch
new file mode 100644
index 0000000..731e51e
--- /dev/null
+++ b/lbuilds/nasm/2.06rc4/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc4/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc4/compiler.h
++++ src/nasm-2.06rc4/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc4/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc4/nasmlib.h
++++ src/nasm-2.06rc4/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc4/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc4/rdoff/rdfdump.c
++++ src/nasm-2.06rc4/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc4/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc4/rdoff/rdoff.c
++++ src/nasm-2.06rc4/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc4/nasm-2.06rc4.lbuild b/lbuilds/nasm/2.06rc4/nasm-2.06rc4.lbuild
new file mode 100644
index 0000000..051091c
--- /dev/null
+++ b/lbuilds/nasm/2.06rc4/nasm-2.06rc4.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc4/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From cb94723ed342af8e96d735996b855404a59e8965 Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 00:13:28 +0100
Subject: [PATCH 04/16] neuer lbuild Nasm 2.06rc5
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc5 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc5/files/build.patch   |   69 ++++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc5/nasm-2.06rc5.lbuild |   49 +++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc5/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc5/nasm-2.06rc5.lbuild

diff --git a/lbuilds/nasm/2.06rc5/files/build.patch b/lbuilds/nasm/2.06rc5/files/build.patch
new file mode 100644
index 0000000..e9bb71a
--- /dev/null
+++ b/lbuilds/nasm/2.06rc5/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc5/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc5/compiler.h
++++ src/nasm-2.06rc5/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc5/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc5/nasmlib.h
++++ src/nasm-2.06rc5/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc5/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc5/rdoff/rdfdump.c
++++ src/nasm-2.06rc5/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc5/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc5/rdoff/rdoff.c
++++ src/nasm-2.06rc5/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc5/nasm-2.06rc5.lbuild b/lbuilds/nasm/2.06rc5/nasm-2.06rc5.lbuild
new file mode 100644
index 0000000..e67083c
--- /dev/null
+++ b/lbuilds/nasm/2.06rc5/nasm-2.06rc5.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc5/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From bdffe91cf3b8b6f1e553cb646c880becd04ecece Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 00:14:31 +0100
Subject: [PATCH 05/16] neuer lbuild Nasm 2.06rc6
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc6 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc6/files/build.patch   |   69 ++++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc6/nasm-2.06rc6.lbuild |   49 +++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc6/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc6/nasm-2.06rc6.lbuild

diff --git a/lbuilds/nasm/2.06rc6/files/build.patch b/lbuilds/nasm/2.06rc6/files/build.patch
new file mode 100644
index 0000000..12f43b8
--- /dev/null
+++ b/lbuilds/nasm/2.06rc6/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc6/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc6/compiler.h
++++ src/nasm-2.06rc6/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc6/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc6/nasmlib.h
++++ src/nasm-2.06rc6/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc6/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc6/rdoff/rdfdump.c
++++ src/nasm-2.06rc6/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc6/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc6/rdoff/rdoff.c
++++ src/nasm-2.06rc6/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc6/nasm-2.06rc6.lbuild b/lbuilds/nasm/2.06rc6/nasm-2.06rc6.lbuild
new file mode 100644
index 0000000..f5d619a
--- /dev/null
+++ b/lbuilds/nasm/2.06rc6/nasm-2.06rc6.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc6/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From 744156b8040d2a793d3c0334ebfc5b04ad1a91fc Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 00:15:08 +0100
Subject: [PATCH 06/16] neuer lbuild Nasm 2.06rc7
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc7 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc7/files/build.patch   |   69 ++++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc7/nasm-2.06rc7.lbuild |   49 +++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc7/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc7/nasm-2.06rc7.lbuild

diff --git a/lbuilds/nasm/2.06rc7/files/build.patch b/lbuilds/nasm/2.06rc7/files/build.patch
new file mode 100644
index 0000000..a47c881
--- /dev/null
+++ b/lbuilds/nasm/2.06rc7/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc7/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc7/compiler.h
++++ src/nasm-2.06rc7/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc7/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc7/nasmlib.h
++++ src/nasm-2.06rc7/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc7/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc7/rdoff/rdfdump.c
++++ src/nasm-2.06rc7/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc7/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc7/rdoff/rdoff.c
++++ src/nasm-2.06rc7/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc7/nasm-2.06rc7.lbuild b/lbuilds/nasm/2.06rc7/nasm-2.06rc7.lbuild
new file mode 100644
index 0000000..6dbe647
--- /dev/null
+++ b/lbuilds/nasm/2.06rc7/nasm-2.06rc7.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc7/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From 948e04dd127f13347d4d919bb2e41eeb2a7f7900 Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 00:19:44 +0100
Subject: [PATCH 07/16] neuer lbuild Nasm 2.06rc9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc9 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc8/files/build.patch   |   69 ++++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc8/nasm-2.06rc8.lbuild |   49 +++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc8/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc8/nasm-2.06rc8.lbuild

diff --git a/lbuilds/nasm/2.06rc8/files/build.patch b/lbuilds/nasm/2.06rc8/files/build.patch
new file mode 100644
index 0000000..5fb48df
--- /dev/null
+++ b/lbuilds/nasm/2.06rc8/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc8/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc8/compiler.h
++++ src/nasm-2.06rc8/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc8/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc8/nasmlib.h
++++ src/nasm-2.06rc8/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc8/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc8/rdoff/rdfdump.c
++++ src/nasm-2.06rc8/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc8/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc8/rdoff/rdoff.c
++++ src/nasm-2.06rc8/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc8/nasm-2.06rc8.lbuild b/lbuilds/nasm/2.06rc8/nasm-2.06rc8.lbuild
new file mode 100644
index 0000000..926723c
--- /dev/null
+++ b/lbuilds/nasm/2.06rc8/nasm-2.06rc8.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc8/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From fc63beeb10b3bddb8f895b34d674cb23569ddafb Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 00:22:38 +0100
Subject: [PATCH 08/16] neuer lbuild Nasm 2.06rc9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc9 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc9/files/build.patch   |   69 ++++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc9/nasm-2.06rc9.lbuild |   49 +++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc9/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc9/nasm-2.06rc9.lbuild

diff --git a/lbuilds/nasm/2.06rc9/files/build.patch b/lbuilds/nasm/2.06rc9/files/build.patch
new file mode 100644
index 0000000..7b242f4
--- /dev/null
+++ b/lbuilds/nasm/2.06rc9/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc9/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc9/compiler.h
++++ src/nasm-2.06rc9/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc9/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc9/nasmlib.h
++++ src/nasm-2.06rc9/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc9/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc9/rdoff/rdfdump.c
++++ src/nasm-2.06rc9/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc9/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc9/rdoff/rdoff.c
++++ src/nasm-2.06rc9/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc9/nasm-2.06rc9.lbuild b/lbuilds/nasm/2.06rc9/nasm-2.06rc9.lbuild
new file mode 100644
index 0000000..cb3f96f
--- /dev/null
+++ b/lbuilds/nasm/2.06rc9/nasm-2.06rc9.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc9/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From 9f78de4ed3c162054071a28470047f5393f7293b Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 09:32:06 +0100
Subject: [PATCH 09/16] neuer lbuild Nasm 2.06
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06/files/build.patch |   69 +++++++++++++++++++++++++++++++++++
 lbuilds/nasm/2.06/nasm-2.06.lbuild  |   49 +++++++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06/files/build.patch
 create mode 100644 lbuilds/nasm/2.06/nasm-2.06.lbuild

diff --git a/lbuilds/nasm/2.06/files/build.patch b/lbuilds/nasm/2.06/files/build.patch
new file mode 100644
index 0000000..748f7bb
--- /dev/null
+++ b/lbuilds/nasm/2.06/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06/compiler.h
+===================================================================
+--- src.orig/nasm-2.06/compiler.h
++++ src/nasm-2.06/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06/nasmlib.h
++++ src/nasm-2.06/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06/rdoff/rdfdump.c
++++ src/nasm-2.06/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06/rdoff/rdoff.c
++++ src/nasm-2.06/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06/nasm-2.06.lbuild b/lbuilds/nasm/2.06/nasm-2.06.lbuild
new file mode 100644
index 0000000..6112c8f
--- /dev/null
+++ b/lbuilds/nasm/2.06/nasm-2.06.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From 985d4ffe8d5e75cd28949d132f64f5c1e70d616b Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 09:33:16 +0100
Subject: [PATCH 10/16] neuer lbuild Nasm 2.06rc10
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc10 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc10/files/build.patch    |   69 ++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc10/nasm-2.06rc10.lbuild |   49 ++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc10/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc10/nasm-2.06rc10.lbuild

diff --git a/lbuilds/nasm/2.06rc10/files/build.patch b/lbuilds/nasm/2.06rc10/files/build.patch
new file mode 100644
index 0000000..3968684
--- /dev/null
+++ b/lbuilds/nasm/2.06rc10/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc10/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc10/compiler.h
++++ src/nasm-2.06rc10/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc10/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc10/nasmlib.h
++++ src/nasm-2.06rc10/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc10/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc10/rdoff/rdfdump.c
++++ src/nasm-2.06rc10/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc10/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc10/rdoff/rdoff.c
++++ src/nasm-2.06rc10/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc10/nasm-2.06rc10.lbuild b/lbuilds/nasm/2.06rc10/nasm-2.06rc10.lbuild
new file mode 100644
index 0000000..4e8c958
--- /dev/null
+++ b/lbuilds/nasm/2.06rc10/nasm-2.06rc10.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc10/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From 0c653163c9a1948168adbe6ad148baa18088d4d1 Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 09:36:07 +0100
Subject: [PATCH 11/16] neuer lbuild Nasm 2.06rc11
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc11 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc11/files/build.patch    |   69 ++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc11/nasm-2.06rc11.lbuild |   49 ++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc11/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc11/nasm-2.06rc11.lbuild

diff --git a/lbuilds/nasm/2.06rc11/files/build.patch b/lbuilds/nasm/2.06rc11/files/build.patch
new file mode 100644
index 0000000..b85a921
--- /dev/null
+++ b/lbuilds/nasm/2.06rc11/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc11/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc11/compiler.h
++++ src/nasm-2.06rc11/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc11/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc11/nasmlib.h
++++ src/nasm-2.06rc11/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc11/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc11/rdoff/rdfdump.c
++++ src/nasm-2.06rc11/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc11/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc11/rdoff/rdoff.c
++++ src/nasm-2.06rc11/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc11/nasm-2.06rc11.lbuild b/lbuilds/nasm/2.06rc11/nasm-2.06rc11.lbuild
new file mode 100644
index 0000000..524d2d7
--- /dev/null
+++ b/lbuilds/nasm/2.06rc11/nasm-2.06rc11.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc11/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From e159976f232cb92094daf7de9f2602e0b1b892f3 Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 09:39:34 +0100
Subject: [PATCH 12/16] neuer lbuild Nasm 2.06rc12
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc12 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc12/files/build.patch    |   69 ++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc12/nasm-2.06rc12.lbuild |   49 ++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc12/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc12/nasm-2.06rc12.lbuild

diff --git a/lbuilds/nasm/2.06rc12/files/build.patch b/lbuilds/nasm/2.06rc12/files/build.patch
new file mode 100644
index 0000000..8e80c95
--- /dev/null
+++ b/lbuilds/nasm/2.06rc12/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc12/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc12/compiler.h
++++ src/nasm-2.06rc12/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc12/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc12/nasmlib.h
++++ src/nasm-2.06rc12/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc12/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc12/rdoff/rdfdump.c
++++ src/nasm-2.06rc12/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc12/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc12/rdoff/rdoff.c
++++ src/nasm-2.06rc12/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc12/nasm-2.06rc12.lbuild b/lbuilds/nasm/2.06rc12/nasm-2.06rc12.lbuild
new file mode 100644
index 0000000..3e3752e
--- /dev/null
+++ b/lbuilds/nasm/2.06rc12/nasm-2.06rc12.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc12/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From 5f3137059b992307f0f40cf13620ca5370ccbf1f Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 09:40:51 +0100
Subject: [PATCH 13/16] neuer lbuild Nasm 2.06rc13
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc13 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc13/files/build.patch    |   69 ++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc13/nasm-2.06rc13.lbuild |   49 ++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc13/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc13/nasm-2.06rc13.lbuild

diff --git a/lbuilds/nasm/2.06rc13/files/build.patch b/lbuilds/nasm/2.06rc13/files/build.patch
new file mode 100644
index 0000000..f7d4ee9
--- /dev/null
+++ b/lbuilds/nasm/2.06rc13/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc13/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc13/compiler.h
++++ src/nasm-2.06rc13/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc13/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc13/nasmlib.h
++++ src/nasm-2.06rc13/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc13/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc13/rdoff/rdfdump.c
++++ src/nasm-2.06rc13/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc13/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc13/rdoff/rdoff.c
++++ src/nasm-2.06rc13/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc13/nasm-2.06rc13.lbuild b/lbuilds/nasm/2.06rc13/nasm-2.06rc13.lbuild
new file mode 100644
index 0000000..dd35201
--- /dev/null
+++ b/lbuilds/nasm/2.06rc13/nasm-2.06rc13.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc13/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From 290d96f1ff6dee5b935510a23d1f5f97be212b6c Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 09:45:31 +0100
Subject: [PATCH 14/16] neuer lbuild Nasm 2.06rc14
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc14 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc14/files/build.patch    |   69 ++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc14/nasm-2.06rc14.lbuild |   49 ++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc14/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc14/nasm-2.06rc14.lbuild

diff --git a/lbuilds/nasm/2.06rc14/files/build.patch b/lbuilds/nasm/2.06rc14/files/build.patch
new file mode 100644
index 0000000..e492c2d
--- /dev/null
+++ b/lbuilds/nasm/2.06rc14/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc14/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc14/compiler.h
++++ src/nasm-2.06rc14/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc14/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc14/nasmlib.h
++++ src/nasm-2.06rc14/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc14/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc14/rdoff/rdfdump.c
++++ src/nasm-2.06rc14/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc14/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc14/rdoff/rdoff.c
++++ src/nasm-2.06rc14/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc14/nasm-2.06rc14.lbuild b/lbuilds/nasm/2.06rc14/nasm-2.06rc14.lbuild
new file mode 100644
index 0000000..c46d3d8
--- /dev/null
+++ b/lbuilds/nasm/2.06rc14/nasm-2.06rc14.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc14/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From b64e8b47519aabb094f3023727e61a933dc785a6 Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 09:53:40 +0100
Subject: [PATCH 15/16] neuer lbuild Nasm 2.06rc15
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

    + lbuild für Nasm 2.06rc15 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc15/files/build.patch    |   69 ++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc15/nasm-2.06rc15.lbuild |   49 ++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc15/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc15/nasm-2.06rc15.lbuild

diff --git a/lbuilds/nasm/2.06rc15/files/build.patch b/lbuilds/nasm/2.06rc15/files/build.patch
new file mode 100644
index 0000000..b843f7b
--- /dev/null
+++ b/lbuilds/nasm/2.06rc15/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc15/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc15/compiler.h
++++ src/nasm-2.06rc15/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc15/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc15/nasmlib.h
++++ src/nasm-2.06rc15/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc15/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc15/rdoff/rdfdump.c
++++ src/nasm-2.06rc15/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc15/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc15/rdoff/rdoff.c
++++ src/nasm-2.06rc15/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc15/nasm-2.06rc15.lbuild b/lbuilds/nasm/2.06rc15/nasm-2.06rc15.lbuild
new file mode 100644
index 0000000..34e4098
--- /dev/null
+++ b/lbuilds/nasm/2.06rc15/nasm-2.06rc15.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc15/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1

From a9dd53eaf8f13bbab1e62de06eedde1f1065e7f5 Mon Sep 17 00:00:00 2001
From: Christian Klahn <Christian.Klahn@xxxxxxx>
Date: Sat, 29 Jan 2011 09:58:34 +0100
Subject: [PATCH 16/16] neuer lbuild Nasm 2.06rc16
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ lbuild für Nasm 2.06rc16 hinzugefügt
Signed-off-by: Christian Klahn <Christian.Klahn@xxxxxxx>
---
 lbuilds/nasm/2.06rc16/files/build.patch    |   69 ++++++++++++++++++++++++++++
 lbuilds/nasm/2.06rc16/nasm-2.06rc16.lbuild |   49 ++++++++++++++++++++
 2 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 lbuilds/nasm/2.06rc16/files/build.patch
 create mode 100644 lbuilds/nasm/2.06rc16/nasm-2.06rc16.lbuild

diff --git a/lbuilds/nasm/2.06rc16/files/build.patch b/lbuilds/nasm/2.06rc16/files/build.patch
new file mode 100644
index 0000000..ba77396
--- /dev/null
+++ b/lbuilds/nasm/2.06rc16/files/build.patch
@@ -0,0 +1,69 @@
+Index: src/nasm-2.06rc16/compiler.h
+===================================================================
+--- src.orig/nasm-2.06rc16/compiler.h
++++ src/nasm-2.06rc16/compiler.h
+@@ -147,4 +147,6 @@ char *strsep(char **, const char *);
+ # define unlikely(x)	(!!(x))
+ #endif
+ 
++#include "nasmlib.h"
++
+ #endif	/* NASM_COMPILER_H */
+Index: src/nasm-2.06rc16/nasmlib.h
+===================================================================
+--- src.orig/nasm-2.06rc16/nasmlib.h
++++ src/nasm-2.06rc16/nasmlib.h
+@@ -18,6 +18,29 @@
+ #include <strings.h>
+ #endif
+ 
++#ifdef __TYNDUR__
++
++#define PRId32 "d"
++#define PRId64 "lld"
++
++#define PRIx8  "hhx"
++#define PRIx16 "hx"
++#define PRIx32 "x"
++#define PRIx64 "llx"
++
++#define PRIX32 "X"
++#define PRIX64 "llX"
++
++#define PRIu32 "u"
++#define PRIu64 "llu"
++
++#define INT32_MAX 0x7fffffff
++#define UINT64_C(n) n##ULL
++#define UINT32_C(n) n##U
++
++#endif
++
++
+ /*
+  * tolower table -- avoids a function call on some platforms.
+  * NOTE: unlike the tolower() function in ctype, EOF is *NOT*
+Index: src/nasm-2.06rc16/rdoff/rdfdump.c
+===================================================================
+--- src.orig/nasm-2.06rc16/rdoff/rdfdump.c
++++ src/nasm-2.06rc16/rdoff/rdfdump.c
+@@ -3,6 +3,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+Index: src/nasm-2.06rc16/rdoff/rdoff.c
+===================================================================
+--- src.orig/nasm-2.06rc16/rdoff/rdoff.c
++++ src/nasm-2.06rc16/rdoff/rdoff.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "compiler.h"
++#include "nasmlib.h"
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/lbuilds/nasm/2.06rc16/nasm-2.06rc16.lbuild b/lbuilds/nasm/2.06rc16/nasm-2.06rc16.lbuild
new file mode 100644
index 0000000..7c95cd2
--- /dev/null
+++ b/lbuilds/nasm/2.06rc16/nasm-2.06rc16.lbuild
@@ -0,0 +1,49 @@
+include lutils
+include toolchain
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/Nasm";
+SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.06rc16/${P}.tar.bz2";
+
+LICENSE="BSD"
+
+BUILD_DEPEND=""
+RUN_DEPEND=""
+
+MY_S="${S}/${P}"
+
+src_unpack() {
+	lunpack ${P}.tar.bz2
+
+    ln -s ${F} patches
+    [ -f ${F}/series ] && ln -s ${F}/series series
+    for i in ${F}/*.patch; do
+        [ -L series ] || echo `basename $i` >> series
+        (which quilt > /dev/null 2>&1) || (patch -p1 < $i) || die "Fehler beim Anwenden von $i"
+    done
+    (which quilt > /dev/null 2>&1) && quilt push -a || die "Fehler beim Anwenden der Patches"
+}
+
+src_configure() {
+	cd ${MY_S}
+	./configure \
+		--build=`tc-build` \
+		--host=`tc-host` \
+		--target=`tc-host` \
+		--prefix=${R} \
+		--disable-nls \
+		--disable-dependency-tracking \
+		|| die "configure failed"
+}
+
+
+src_compile() {
+	cd ${MY_S}
+	lmake || die "make failed"
+}
+
+src_install() {
+	cd ${MY_S}
+	lmake INSTALLROOT="${D}" install || die "make install failed"
+	rm -r ${D}/${R}/share
+}
-- 
1.7.1