ASF Bugzilla – Attachment 37685 Details for
Bug 50146
cross compiling apr error: redefinition of 'struct iovec'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Crude patch to configure which demonstrates the issue / direction for a fix
crude-configure-patch.txt (text/plain), 2.26 KB, created by
Michael Driscoll
on 2021-01-04 18:43:40 UTC
(
hide
)
Description:
Crude patch to configure which demonstrates the issue / direction for a fix
Filename:
MIME Type:
Creator:
Michael Driscoll
Created:
2021-01-04 18:43:40 UTC
Size:
2.26 KB
patch
obsolete
>index 5f5d558010..c26610d749 100755 >--- apr/configure >+++ apr/configure >@@ -24475,7 +24475,7 @@ else > cat confdefs.h - <<_ACEOF >conftest.$ac_ext > /* end confdefs.h. */ > #include <stdio.h> >-#include <stdlib.h> >+$ac_includes_default > #include <sys/types.h> > #ifdef WIN32 > #define binmode "b" >@@ -24486,7 +24486,7 @@ main() > { > FILE *f=fopen("conftestval", "w" binmode); > if (!f) exit(1); >- fprintf(f, "%d\n", sizeof(pid_t)); >+ fprintf(f, "%zd\n", sizeof(pid_t)); > exit(0); > } > _ACEOF >@@ -24801,6 +24801,7 @@ else > cat confdefs.h - <<_ACEOF >conftest.$ac_ext > /* end confdefs.h. */ > #include <stdio.h> >+$ac_includes_default > #include <sys/types.h> > #ifdef WIN32 > #define binmode "b" >@@ -24811,7 +24812,7 @@ main() > { > FILE *f=fopen("conftestval", "w" binmode); > if (!f) exit(1); >- fprintf(f, "%d\n", sizeof(ssize_t)); >+ fprintf(f, "%zd\n", sizeof(ssize_t)); > exit(0); > } > _ACEOF >@@ -24864,6 +24865,7 @@ else > cat confdefs.h - <<_ACEOF >conftest.$ac_ext > /* end confdefs.h. */ > #include <stdio.h> >+$ac_includes_default > #include <stddef.h> > #ifdef WIN32 > #define binmode "b" >@@ -24874,7 +24876,7 @@ main() > { > FILE *f=fopen("conftestval", "w" binmode); > if (!f) exit(1); >- fprintf(f, "%d\n", sizeof(size_t)); >+ fprintf(f, "%zd\n", sizeof(size_t)); > exit(0); > } > _ACEOF >@@ -24928,6 +24930,7 @@ else > cat confdefs.h - <<_ACEOF >conftest.$ac_ext > /* end confdefs.h. */ > #include <stdio.h> >+$ac_includes_default > #include <sys/types.h> > #ifdef WIN32 > #define binmode "b" >@@ -24938,7 +24941,7 @@ main() > { > FILE *f=fopen("conftestval", "w" binmode); > if (!f) exit(1); >- fprintf(f, "%d\n", sizeof(off_t)); >+ fprintf(f, "%zd\n", sizeof(off_t)); > exit(0); > } > _ACEOF >@@ -25309,7 +25312,7 @@ main() > { > FILE *f=fopen("conftestval", "w" binmode); > if (!f) exit(1); >- fprintf(f, "%d\n", sizeof(ino_t)); >+ fprintf(f, "%zd\n", sizeof(ino_t)); > exit(0); > } > _ACEOF >@@ -25585,6 +25588,7 @@ else > cat confdefs.h - <<_ACEOF >conftest.$ac_ext > /* end confdefs.h. */ > #include <stdio.h> >+$ac_includes_default > #include <sys/types.h> > #include <sys/uio.h> > #ifdef WIN32 >@@ -25596,7 +25600,7 @@ main() > { > FILE *f=fopen("conftestval", "w" binmode); > if (!f) exit(1); >- fprintf(f, "%d\n", sizeof(struct iovec)); >+ fprintf(f, "%zd\n", sizeof(struct iovec)); > exit(0); > } > _ACEOF
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 Raw
Actions:
View
Attachments on
bug 50146
: 37685