FS#30624 - [swig] Need to apply a patch

Attached to Project: Arch Linux
Opened by vnoel (kaouete) - Tuesday, 10 July 2012, 16:20 GMT
Last edited by Stéphane Gaudreault (stephane) - Wednesday, 11 July 2012, 16:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Stéphane Gaudreault (stephane)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi,

It seems last version of swig has a bug that manifests itself when generating glue lib for python 3.

I noticed it on the aur python-yarp package that I maintain.

The error that appears is:
‘PyInt_FromSize_t’ was not declared in this scope

After a little search on the internet, I found the following bug report at redhat that advise to apply a patch used at debian.
The bug report: https://bugzilla.redhat.com/show_bug.cgi?id=830660
The debian patch: http://patch-tracker.debian.org/patch/series/view/swig2.0/2.0.7-3/pyint_fromsize_t.diff

Thanks
This task depends upon

Closed by  Stéphane Gaudreault (stephane)
Wednesday, 11 July 2012, 16:23 GMT
Reason for closing:  Fixed
Comment by Dave Reisner (falconindy) - Tuesday, 10 July 2012, 16:30 GMT
Why isn't this reported upstream?
Comment by vnoel (kaouete) - Wednesday, 11 July 2012, 06:16 GMT
Well, it was reported two days ago:
http://sourceforge.net/tracker/?func=detail&aid=3541744&group_id=1645&atid=101645

But I think that's all there is to it at swig…

Loading...