From 08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 29 Jul 2014 17:12:47 +0000 Subject: Rename all patches that contain '::' as a path separator, and use '__' instead. --- .../files/patch-src::io::prom::fs::hfsplus::unicode.c | 19 ------------------- .../files/patch-src__io__prom__fs__hfsplus__unicode.c | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 emulators/pearpc/files/patch-src::io::prom::fs::hfsplus::unicode.c create mode 100644 emulators/pearpc/files/patch-src__io__prom__fs__hfsplus__unicode.c (limited to 'emulators/pearpc') diff --git a/emulators/pearpc/files/patch-src::io::prom::fs::hfsplus::unicode.c b/emulators/pearpc/files/patch-src::io::prom::fs::hfsplus::unicode.c deleted file mode 100644 index 0034da8ce6cd..000000000000 --- a/emulators/pearpc/files/patch-src::io::prom::fs::hfsplus::unicode.c +++ /dev/null @@ -1,19 +0,0 @@ ---- src/io/prom/fs/hfsplus/unicode.c.DIST Thu May 6 10:45:32 2004 -+++ src/io/prom/fs/hfsplus/unicode.c Tue May 25 10:06:24 2004 -@@ -28,6 +28,16 @@ - - #include "unicode.h" - -+#ifdef FREEBSD_MB_SUPPORT -+size_t mbrtowc __P((wchar_t * __restrict, const char * __restrict, size_t, -+ mbstate_t * __restrict)); -+size_t wcrtomb __P((char * __restrict, wchar_t, mbstate_t * __restrict)); -+ -+#include "mbrtowc.c" -+#include "wcrtomb.c" -+#endif /* FREEBSD_MB_SUPPORT */ -+ -+ - /* convert the asci string astr into a unicode string given by ustr. - * - * ToDo: Think about better error handling ? diff --git a/emulators/pearpc/files/patch-src__io__prom__fs__hfsplus__unicode.c b/emulators/pearpc/files/patch-src__io__prom__fs__hfsplus__unicode.c new file mode 100644 index 000000000000..0034da8ce6cd --- /dev/null +++ b/emulators/pearpc/files/patch-src__io__prom__fs__hfsplus__unicode.c @@ -0,0 +1,19 @@ +--- src/io/prom/fs/hfsplus/unicode.c.DIST Thu May 6 10:45:32 2004 ++++ src/io/prom/fs/hfsplus/unicode.c Tue May 25 10:06:24 2004 +@@ -28,6 +28,16 @@ + + #include "unicode.h" + ++#ifdef FREEBSD_MB_SUPPORT ++size_t mbrtowc __P((wchar_t * __restrict, const char * __restrict, size_t, ++ mbstate_t * __restrict)); ++size_t wcrtomb __P((char * __restrict, wchar_t, mbstate_t * __restrict)); ++ ++#include "mbrtowc.c" ++#include "wcrtomb.c" ++#endif /* FREEBSD_MB_SUPPORT */ ++ ++ + /* convert the asci string astr into a unicode string given by ustr. + * + * ToDo: Think about better error handling ? -- cgit v1.2.3