Commit 6d638aac by Rainer Orth Committed by Rainer Orth

re PR libf2c/4826 (Build error for 3.0.2 on Tru64 Unix 5.1A)

	* fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
	UNIX V5.1A stdio.h.
	* fixinc/fixincl.x: Regenerate.
	Fixes PR libf2c/4826.

From-SVN: r47732
parent 919543ab
2001-12-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
UNIX V5.1A stdio.h.
* fixinc/fixincl.x: Regenerate.
Fixes PR libf2c/4826.
2001-12-06 Aldy Hernandez <aldyh@redhat.com> 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
Richard Henderson <rth@redhat.com> Richard Henderson <rth@redhat.com>
......
...@@ -3954,6 +3954,7 @@ static const char* apzStdio_Va_ListPatch[] = { "sed", ...@@ -3954,6 +3954,7 @@ static const char* apzStdio_Va_ListPatch[] = { "sed",
"-e", "s@ va_list @ __gnuc_va_list @\n\ "-e", "s@ va_list @ __gnuc_va_list @\n\
s@ va_list)@ __gnuc_va_list)@\n\ s@ va_list)@ __gnuc_va_list)@\n\
s@ _VA_LIST_));@ __gnuc_va_list));@\n\ s@ _VA_LIST_));@ __gnuc_va_list));@\n\
s@ __VA_LIST__));@ __gnuc_va_list));@\n\
s@ va_list@ __not_va_list__@\n\ s@ va_list@ __not_va_list__@\n\
s@\\*va_list@*__not_va_list__@\n\ s@\\*va_list@*__not_va_list__@\n\
s@ __va_list)@ __gnuc_va_list)@\n\ s@ __va_list)@ __gnuc_va_list)@\n\
......
...@@ -2223,7 +2223,8 @@ fix = { ...@@ -2223,7 +2223,8 @@ fix = {
/* /*
* Use __gnuc_va_list in arg types in place of va_list. * Use __gnuc_va_list in arg types in place of va_list.
* On 386BSD use __gnuc_va_list instead of _VA_LIST_. We're hoping the * On 386BSD use __gnuc_va_list instead of _VA_LIST_. On Tru64 UNIX V5.1A
* use __gnuc_va_list instead of __VA_LIST__. We're hoping the
* trailing parentheses and semicolon save all other systems from this. * trailing parentheses and semicolon save all other systems from this.
* Define __not_va_list__ (something harmless and unused) * Define __not_va_list__ (something harmless and unused)
* instead of va_list. * instead of va_list.
...@@ -2232,6 +2233,7 @@ fix = { ...@@ -2232,6 +2233,7 @@ fix = {
sed = "s@ va_list @ __gnuc_va_list @\n" sed = "s@ va_list @ __gnuc_va_list @\n"
"s@ va_list)@ __gnuc_va_list)@\n" "s@ va_list)@ __gnuc_va_list)@\n"
"s@ _VA_LIST_));@ __gnuc_va_list));@\n" "s@ _VA_LIST_));@ __gnuc_va_list));@\n"
"s@ __VA_LIST__));@ __gnuc_va_list));@\n"
"s@ va_list@ __not_va_list__@\n" "s@ va_list@ __not_va_list__@\n"
"s@\\*va_list@*__not_va_list__@\n" "s@\\*va_list@*__not_va_list__@\n"
"s@ __va_list)@ __gnuc_va_list)@\n" "s@ __va_list)@ __gnuc_va_list)@\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment