Bug 652479
| Summary: | Portability fixes for newt | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tilghman Lesher <bugzilla-redhat-com> | ||||||||
| Component: | newt | Assignee: | Miroslav Lichvar <mlichvar> | ||||||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | low | ||||||||||
| Version: | rawhide | CC: | mlichvar | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| URL: | https://trac.macports.org/ticket/27253 | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2010-11-22 14:01:03 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
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. Created attachment 460104 [details]
Detects the need for -lintl
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). Created attachment 460460 [details]
newt-0.52.12-macosx.patch
Patch now finds the correct path of libtcl for linking.
Pushed to git with some modifications. If you have more patches, please use git format-patch. Thanks. |
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: