Bug 116130 - x11-toolkits/blt: Patch to build libBLT24.so with proper dependencies
Summary: x11-toolkits/blt: Patch to build libBLT24.so with proper dependencies
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-05 19:30 UTC by fmysh
Modified: 2007-09-09 08:50 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (845 bytes, patch)
2007-09-05 19:30 UTC, fmysh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fmysh 2007-09-05 19:30:01 UTC
libBLT24.so has no ldd dependencies on tcl or tk.

$ ldd /usr/local/lib/libBLT24.so.3
/usr/local/lib/libBLT24.so.3:

This causes a problem in some environment, say py-tkinter, which is a Tk wrapper
for Python.

Fix: The patch below is originally Bill Barnard posted to SourceForge.
http://sourceforge.net/tracker/index.php?func=detail&aid=1470209&group_id=18616&atid=318616
 
This makes libBTL24.so built with valid dependencies.

$ ldd /usr/local/lib/libBLT24.so.3:
libtk84.so.1 => /usr/local/lib/libtk84.so.1 (0x68264000)
libtcl84.so.1 => /usr/local/lib/libtcl84.so.1 (0x6833c000)
libX11.so.6 => /usr/local/lib/libX11.so.6 (0x683e8000)
libm.so.4 => /lib/libm.so.4 (0x684d6000)
libXau.so.6 => /usr/local/lib/libXau.so.6 (0x684ee000)
libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x684f1000)
librpcsvc.so.3 => /usr/lib/librpcsvc.so.3 (0x684f6000)



New file: files/patch-src-shared-Makefile.in
How-To-Repeat: 	
The operation equivalent to "package require BLT" in Tcl/Tk fails.
libBLT24.so can't resolve TclpAlloc in libtcl84.so because it has no dependency.

$ python
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-05 19:30:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 kjc 2007-09-07 09:17:17 UTC
I approve this patch.  Please commit it.

-Kenjiro

Edwin Groothuis wrote:
> Maintainer of x11-toolkits/blt,
> 
> Please note that PR ports/116130 has just been submitted.
> 
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
> 
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/116130
> 
> -- 
> Edwin Groothuis
> edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-07 12:46:44 UTC
State Changed
From-To: feedback->open

maintainer approved.
Comment 4 Rong-En Fan freebsd_committer freebsd_triage 2007-09-09 08:45:36 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2007-09-09 08:45:40 UTC
rafan       2007-09-09 07:45:34 UTC

  FreeBSD ports repository

  Modified files:
    x11-toolkits/blt     Makefile 
  Added files:
    x11-toolkits/blt/files patch-src-shared-Makefile.in 
  Log:
  - Fix shared library dependencies
  
  PR:             ports/116130
  Submitted by:   TAOKA Fumiyoshi <fmysh at iijmio-mail.jp>
  Obtained from:  http://sourceforge.net/tracker/index.php?func=detail&aid=1470209&group_id=18616&atid=318616
  Approved by:    Kenjiro Cho <kjc at iijlab.net> (maintainer)
  
  Revision  Changes    Path
  1.50      +1 -1      ports/x11-toolkits/blt/Makefile
  1.1       +12 -0     ports/x11-toolkits/blt/files/patch-src-shared-Makefile.in (new)
_______________________________________________
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"