diff options
Diffstat (limited to 'sys-block/di/files/di-4.32-build.patch')
-rw-r--r-- | sys-block/di/files/di-4.32-build.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-block/di/files/di-4.32-build.patch b/sys-block/di/files/di-4.32-build.patch new file mode 100644 index 000000000000..501cdfbe26fc --- /dev/null +++ b/sys-block/di/files/di-4.32-build.patch @@ -0,0 +1,37 @@ +These are the first errors occuring: + +di.h:82:4: error: unknown type name ‘error’ +di.h:82:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘/’ token +di.h:143:5: error: unknown type name ‘_fs_size_t’ + +Then there is a lot more errors after above. + +--- C/di.h ++++ C/di.h +@@ -9,6 +9,8 @@ + + #include "config.h" + ++#include <string.h> ++ + /*****************************************************/ + + #include <stdio.h> +@@ -79,7 +81,7 @@ + + #if ! _lib_memcpy && ! defined (memcpy) + # if ! _lib_bcopy +- error No_memcpy/bcopy_available. ++ //error No_memcpy/bcopy_available. + # else + # define memcpy(dst, src, cnt) (bcopy((src), (dst), (cnt)), dst) + # endif +@@ -87,7 +89,7 @@ + + #if ! _lib_memset && ! defined (memset) + # if ! _lib_bzero +- error No_memset/bzero_available. ++ //error No_memset/bzero_available. + # else + # define memset(s,c,n) (bzero ((s), (n)), s) + # endif |