Bug 157300 - [patch] archivers/py-liblzma: fix build with python2.7
Summary: [patch] archivers/py-liblzma: fix build with python2.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 21:30 UTC by David Naylor
Modified: 2011-06-08 09:30 UTC (History)
0 users

See Also:


Attachments
file.diff (961 bytes, patch)
2011-05-24 21:30 UTC, David Naylor
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Naylor 2011-05-24 21:30:11 UTC
Link with -lpythonX.Y otherwise one gets:
ImportError: /usr/local/lib/python2.7/site-packages/lzma.so: Undefined symbol "PyOS_mystricmp"

See for details: https://bugs.launchpad.net/pyliblzma/+bug/594919

Fix: See attached for patch

Patch attached with submission follows:
How-To-Repeat: python -c "import lzma"
Comment 1 Wen Heping freebsd_committer freebsd_triage 2011-05-25 01:32:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-06-08 09:26:58 UTC
wen         2011-06-08 08:26:45 UTC

  FreeBSD ports repository

  Modified files:
    archivers/py-liblzma Makefile 
    archivers/py-liblzma/files patch-setup.py 
  Log:
  - Fix build with python-2.7
  
  PR:             ports/157300
  Submitted by:   David Naylor <naylor.b.david@gmail.com> (maintainer)
  
  Revision  Changes    Path
  1.8       +1 -1      ports/archivers/py-liblzma/Makefile
  1.2       +10 -1     ports/archivers/py-liblzma/files/patch-setup.py
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Wen Heping freebsd_committer freebsd_triage 2011-06-08 09:28:00 UTC
State Changed
From-To: open->closed

Committed. Thanks!