#17960: curl: build failure when building universal for i386 ppc x86_64 ppc64 -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: curl -------------------------------------+-------------------------------------- Comment(by eborisch@…): Replying to [comment:2 ryandesign@…]:
In MacPorts we have curl 7.19.2 which has defines for SIZEOF_INT, SIZEOF_LONG, SIZEOF_OFF_T, SIZEOF_SIZE_T, SIZEOF_TIME_T, and SIZEOF_VOIDP. I suppose I should try again to change all of these except SIZEOF_CURL_OFF_T and see what happens.
See similar discussion: [http://curl.haxx.se/mail/lib-2008-09/0051.html] Patching include/curl/curlbuild.h like so: {{{ #ifdef __LP64__ #define CURL_SIZEOF_LONG 8 #else #define CURL_SIZEOF_LONG 4 #endif }}} builds and appears to work correctly. -- Ticket URL: <http://trac.macports.org/ticket/17960#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS