FS#21216 - [lib32-curl] incompatible to headers from (64-bit) curl

Attached to Project: Community Packages
Opened by PyroPeter (pyropeter) - Tuesday, 12 October 2010, 13:41 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 19 October 2010, 20:36 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Ionut Biru (wonder)
Florian Pritz (bluewind)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

extra/curl-7.21.1-1 hardcodes various sizes in their curl/curlbuild.h:

------------------------
/* The size of `long', as computed by sizeof. */
#define CURL_SIZEOF_LONG 8

/* The size of `curl_socklen_t', as computed by sizeof. */
#define CURL_SIZEOF_CURL_SOCKLEN_T 4

/* The size of `curl_off_t', as computed by sizeof. */
#define CURL_SIZEOF_CURL_OFF_T 8
------------------------

This causes problems when using 'gcc -m32'
Upstream knows about this bug/feature. [1]
Fedora uses a workaround. [2]

[1] http://curl.haxx.se/mail/lib-2008-09/0054.html
[2] http://pkgs.fedoraproject.org/gitweb/?p=curl.git;a=blob;f=curlbuild.h
This task depends upon

Closed by  Ionut Biru (wonder)
Tuesday, 19 October 2010, 20:36 GMT
Reason for closing:  Fixed
Comment by Ionut Biru (wonder) - Tuesday, 12 October 2010, 15:12 GMT
this cannot be fixed until curl from extra, x86_64 is fixed
Comment by PyroPeter (pyropeter) - Tuesday, 12 October 2010, 19:06 GMT
Then I suppose this bugreport should be moved back to Extra.
Comment by Ionut Biru (wonder) - Sunday, 17 October 2010, 21:07 GMT
pushed curl-7.21.2-2 and lib32-curl-7.21.2-1 with this implemented

Loading...