diff options
author | ache <ache@FreeBSD.org> | 2002-08-27 03:50:51 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-08-27 03:50:51 +0800 |
commit | 92cda8749674c8c3d614aecc44e37183538724da (patch) | |
tree | 389dd35c17b2fc73a45c48e893bda71a500c6146 /archivers | |
parent | 6bfc3b4191d719f08de0df0290ccaea7d2b41182 (diff) | |
download | freebsd-ports-gnome-92cda8749674c8c3d614aecc44e37183538724da.tar.gz freebsd-ports-gnome-92cda8749674c8c3d614aecc44e37183538724da.tar.zst freebsd-ports-gnome-92cda8749674c8c3d614aecc44e37183538724da.zip |
Define wchar properly
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/unrar/files/patch-aa | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/archivers/unrar/files/patch-aa b/archivers/unrar/files/patch-aa index 89892c822982..6e1a5dc0f733 100644 --- a/archivers/unrar/files/patch-aa +++ b/archivers/unrar/files/patch-aa @@ -1,11 +1,11 @@ ---- getopt.c.orig Thu Jun 6 17:43:00 2002 -+++ getopt.c Thu Jun 6 17:43:12 2002 -@@ -270,7 +270,7 @@ - MUCHelp20,MUCHelp21,"\n"}; - int I; - for (I=0;I<sizeof(Help)/sizeof(Help[0]);I++) -- mprintf(Help[I]); -+ mprintf("%s", Help[I]); - } - +--- rartypes.hpp.bak Tue May 14 16:41:23 2002 ++++ rartypes.hpp Mon Aug 26 23:32:38 2002 +@@ -8,7 +8,7 @@ + typedef unsigned int uint32; //32 bits exactly + #define PRESENT_INT32 +-#ifdef _WIN_32 ++#if defined(_WIN_32) || defined(__FreeBSD__) + typedef wchar_t wchar; + #elif defined(__GNUC__) + typedef __wchar_t wchar; |