FreeBSD Bugzilla – Attachment 224334 Details for
Bug 255308
shells/ast-ksh: fix build on powerpc64*
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
ast-ksh.patch (text/plain), 1.50 KB, created by
Piotr Kubaj
on 2021-04-21 16:18:10 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2021-04-21 16:18:10 UTC
Size:
1.50 KB
patch
obsolete
>diff d9db2548a52a00a1f296a1a3c33eb606b3fad68b /usr/ports >blob - /dev/null >file + shells/ast-ksh/files/patch-src_lib_libast_hash_hashalloc.c >--- /dev/null >+++ shells/ast-ksh/files/patch-src_lib_libast_hash_hashalloc.c >@@ -0,0 +1,20 @@ >+--- src/lib/libast/hash/hashalloc.c.orig 2021-04-21 15:44:15 UTC >++++ src/lib/libast/hash/hashalloc.c >+@@ -49,6 +49,7 @@ hashalloc(Hash_table_t* ref, ...) >+ va_list* vp = va; >+ Hash_region_f region = 0; >+ void* handle; >++ va_listarg tmpval; >+ >+ va_start(ap, ref); >+ >+@@ -159,7 +160,8 @@ hashalloc(Hash_table_t* ref, ...) >+ va_copy(ap, np); >+ } >+ #else >+- va_copy(ap, va_listval(va_arg(ap, va_listarg))); >++ tmpval = va_listval(va_arg(ap, va_listarg)); >++ va_copy(ap, tmpval); >+ #endif >+ break; >+ case 0: >blob - /dev/null >file + shells/ast-ksh/files/patch-src_lib_libast_string_tokscan.c >--- /dev/null >+++ shells/ast-ksh/files/patch-src_lib_libast_string_tokscan.c >@@ -0,0 +1,20 @@ >+--- src/lib/libast/string/tokscan.c.orig 2021-04-21 15:45:06 UTC >++++ src/lib/libast/string/tokscan.c >+@@ -197,6 +197,7 @@ tokscan(register char* s, char** nxt, const char* fmt, >+ char** p_string; >+ char* prv_f = 0; >+ va_list prv_ap; >++ va_listarg tmpval; >+ >+ va_start(ap, fmt); >+ if (!*s || *s == '\n') >+@@ -250,7 +251,8 @@ tokscan(register char* s, char** nxt, const char* fmt, >+ va_copy(ap, np); >+ } >+ #else >+- va_copy(ap, va_listval(va_arg(ap, va_listarg))); >++ tmpval = va_listval(va_arg(ap, va_listarg)); >++ va_copy(ap, tmpval); >+ #endif >+ continue; >+ case 'c':
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 255308
: 224334