From c5eff7349b999fd1898b65c63883a2d6ba338a03 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Tue, 28 Apr 2026 20:56:03 +0200 Subject: [PATCH] Apply patch: ncpfs-hg-commit-424.patch --- .../ncpfs-2.2.6-r6/ncpfs-hg-commit-424.patch | 30 +++++++++++++++++++ include/ncp/kernel/types.h.in | 4 +++ 2 files changed, 34 insertions(+) create mode 100644 .patches/ncpfs-2.2.6-r6/ncpfs-hg-commit-424.patch diff --git a/.patches/ncpfs-2.2.6-r6/ncpfs-hg-commit-424.patch b/.patches/ncpfs-2.2.6-r6/ncpfs-hg-commit-424.patch new file mode 100644 index 0000000..1575d39 --- /dev/null +++ b/.patches/ncpfs-2.2.6-r6/ncpfs-hg-commit-424.patch @@ -0,0 +1,30 @@ +changeset: 424:81e0853d48a9 +user: Petr Vandrovec +date: Sat May 28 19:59:35 2005 +0000 +files: include/ncp/kernel/types.h.in +description: +Use stdint.h when possible. Fixes problems on Darwin. + + +diff -r bef6bf5896d3 -r 81e0853d48a9 include/ncp/kernel/types.h.in +--- a/include/ncp/kernel/types.h.in Sat May 28 19:42:20 2005 +0000 ++++ b/include/ncp/kernel/types.h.in Sat May 28 19:59:35 2005 +0000 +@@ -7,6 +7,9 @@ + @ncp_in_support@ + @ncp_ipx_support@ + ++#if @stdint_types@ ++#include ++#else + /* FIXME: What about configure?! */ + #ifndef __BIT_TYPES_DEFINED__ + #define __BIT_TYPES_DEFINED__ 1 +@@ -26,6 +29,7 @@ typedef signed long long int64_t; + #endif + + #endif /* __BIT_TYPES_DEFINED__ */ ++#endif + + #if @USE_KERNEL@ + + diff --git a/include/ncp/kernel/types.h.in b/include/ncp/kernel/types.h.in index 7d197bb..9a9d447 100644 --- a/include/ncp/kernel/types.h.in +++ b/include/ncp/kernel/types.h.in @@ -7,6 +7,9 @@ @ncp_in_support@ @ncp_ipx_support@ +#if @stdint_types@ +#include +#else /* FIXME: What about configure?! */ #ifndef __BIT_TYPES_DEFINED__ #define __BIT_TYPES_DEFINED__ 1 @@ -26,6 +29,7 @@ typedef signed long long int64_t; #endif #endif /* __BIT_TYPES_DEFINED__ */ +#endif #if @USE_KERNEL@