diff options
author | Cy Schubert <cy@FreeBSD.org> | 2020-02-23 04:09:45 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2020-02-23 04:09:45 +0000 |
commit | c14b244b1cb835f6d0f157154f83a3ddc90f3ef7 (patch) | |
tree | e58c1fb031b1e6baf7930d2f81c96dda20876bd0 /shells/ksh93-devel | |
parent | f0dc42fe77d87d5f297f032283c8488cc1f25c6e (diff) | |
download | ports-c14b244b1cb835f6d0f157154f83a3ddc90f3ef7.tar.gz ports-c14b244b1cb835f6d0f157154f83a3ddc90f3ef7.zip |
Fix i386 build.
Notes
Notes:
svn path=/head/; revision=526874
Diffstat (limited to 'shells/ksh93-devel')
-rw-r--r-- | shells/ksh93-devel/files/patch-src_lib_libast_features_common | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/shells/ksh93-devel/files/patch-src_lib_libast_features_common b/shells/ksh93-devel/files/patch-src_lib_libast_features_common new file mode 100644 index 000000000000..60007aea5563 --- /dev/null +++ b/shells/ksh93-devel/files/patch-src_lib_libast_features_common @@ -0,0 +1,38 @@ +--- src/lib/libast/features/common.orig 2017-11-09 11:01:26.000000000 -0800 ++++ src/lib/libast/features/common 2020-02-22 20:00:11.166985000 -0800 +@@ -518,29 +518,12 @@ + printf("#include <varargs.h>\n"); + printf("#endif\n"); + printf("#endif\n"); +- #if TRY == 4 +- printf("#define va_listref(p) (&(p))\t"); +- printf("/* pass va_list to varargs function */\n"); +- printf("#define va_listval(p) (*(p))\t"); +- printf("/* retrieve va_list from va_arg(ap,va_listarg) */\n"); +- printf("#define va_listarg va_list*\t"); +- printf("/* va_arg() va_list type */\n"); +- #else +- varyfunny(&r); +- printf("#define va_listref(p) (p)\t"); +- printf("/* pass va_list to varargs function */\n"); +- if (sizeof(va_list) > sizeof(void*)) +- printf("#define va_listval(p) (*(p))\t"); +- else +- printf("#define va_listval(p) (p)\t"); +- printf("/* retrieve va_list from va_arg(ap,va_listarg) */\n"); +- #if TRY == 2 +- printf("#define va_listarg va_list*\t"); +- #else +- printf("#define va_listarg va_list\t"); +- #endif /*TRY == 2*/ +- printf("/* va_arg() va_list type */\n"); +- #endif /*TRY == 4*/ ++ printf("#define va_listref(p) (&(p))\t"); ++ printf("/* pass va_list to varargs function */\n"); ++ printf("#define va_listval(p) (*(p))\t"); ++ printf("/* retrieve va_list from va_arg(ap,va_listarg) */\n"); ++ printf("#define va_listarg va_list*\t"); ++ printf("/* va_arg() va_list type */\n"); + + #if _UWIN + printf("#ifndef va_copy\n"); |