From 5fbf8d8592ffd00fcd6f237ab31886936755c882 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 11 Apr 2024 10:21:30 +0200 Subject: Adding debian version 1:0.1.9998svn3589+dfsg-1. Signed-off-by: Daniel Baumann --- debian/patches/assert.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 debian/patches/assert.patch (limited to 'debian/patches/assert.patch') diff --git a/debian/patches/assert.patch b/debian/patches/assert.patch new file mode 100644 index 0000000..9376b6d --- /dev/null +++ b/debian/patches/assert.patch @@ -0,0 +1,18 @@ +Description: Use assert ehen kHlpAssertBreakpoint is not available +Author: Gianfranco Costamagna +Last-Update: 2020-11-10 + +Index: kbuild/src/lib/kStuff/include/k/kHlpAssert.h +=================================================================== +--- kbuild.orig/src/lib/kStuff/include/k/kHlpAssert.h ++++ kbuild/src/lib/kStuff/include/k/kHlpAssert.h +@@ -60,7 +60,8 @@ + #elif defined(__GNUC__) && (K_ARCH == K_ARCH_SPARC_64) + # define kHlpAssertBreakpoint() do { __asm__ __volatile__ ("illtrap 0"); } while (0) /*??*/ + #else +-# error "Port Me" ++#include ++# define kHlpAssertBreakpoint(cond) assert(cond) + #endif + + /** @def K_FUNCTION -- cgit v1.2.3