Bug 652479 - Portability fixes for newt
Summary: Portability fixes for newt
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: newt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL: https://trac.macports.org/ticket/27253
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-12 00:27 UTC by Tilghman Lesher
Modified: 2010-11-22 14:01 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-11-22 14:01:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Applied against newt 0.52.11 (153.16 KB, patch)
2010-11-12 00:27 UTC, Tilghman Lesher
no flags Details | Diff
Detects the need for -lintl (158.20 KB, patch)
2010-11-12 17:05 UTC, Tilghman Lesher
no flags Details | Diff
newt-0.52.12-macosx.patch (61.56 KB, patch)
2010-11-15 03:40 UTC, Tilghman Lesher
no flags Details | Diff

Description Tilghman Lesher 2010-11-12 00:27:49 UTC
Created attachment 459886 [details]
Applied against newt 0.52.11

Description of problem:
Patches to allow newt to compile and install on Mac OS X.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Miroslav Lichvar 2010-11-12 12:49:23 UTC
Thanks. But it needs a bit more work, it breaks building and installing on Linux. The intl library shouldn't be used and GNU install uses -d option to create directories.

Comment 2 Tilghman Lesher 2010-11-12 17:05:21 UTC
Created attachment 460104 [details]
Detects the need for -lintl

Comment 3 Tilghman Lesher 2010-11-12 17:08:24 UTC
1.  Now builds correctly on Linux.
2.  libintl is now optional, based upon whether gettext is found in -lc or -lintl.
3.  BSD install does not have the -D flag, and BSD install is the portability standard (see Autoconf's install-sh script).

Comment 4 Tilghman Lesher 2010-11-15 03:40:15 UTC
Created attachment 460460 [details]
newt-0.52.12-macosx.patch

Patch now finds the correct path of libtcl for linking.

Comment 5 Miroslav Lichvar 2010-11-22 14:01:03 UTC
Pushed to git with some modifications.

If you have more patches, please use git format-patch.

Thanks.


Note You need to log in before you can comment on or make changes to this bug.