Opened 13 years ago
Closed 13 years ago
#33899 closed defect (fixed)
curl builds incorrectly when +universal ppc i386 x86_64
Reported by: | jeremyhu (Jeremy Huddleston Sequoia) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | universal muniversal merger_dont_diff | Cc: | |
Port: | curl |
Description
Install curl +universal with ppc i386 x86_64 as the chosen arch. muniversal incorrectly merges the header files. Take this block in ${prefix}/include/curl/curlbuild.h for example:
/* The size of `long', as computed by sizeof. */ #if defined (__i386__) || defined(__x86_64__) #ifndef __LP64__ #endif #define CURL_SIZEOF_LONG 4 #if defined (__i386__) || defined(__x86_64__) #else /* __LP64__ */ #define CURL_SIZEOF_LONG 8 #endif /* __LP64__ */ #endif
This came from -intel (which was correctly merged from i386 and x86_64):
/* The size of `long', as computed by sizeof. */ #ifndef __LP64__ #define CURL_SIZEOF_LONG 4 #else /* __LP64__ */ #define CURL_SIZEOF_LONG 8 #endif /* __LP64__ */
and from -powerpc (which was correctly just powerpc):
/* The size of `long', as computed by sizeof. */ #define CURL_SIZEOF_LONG 4
Change History (3)
comment:1 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Keywords: | merger_dont_diff added; merger_no_3_archs removed |
---|
comment:3 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.