| Summary: | Patches for building app-text/html2text on ppc-macos | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Thomas Kjosmoen <gentoo> |
| Component: | Mac OSX | Assignee: | Gentoo for Mac OS X <ppc-macos> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | asl |
| Priority: | High | Keywords: | InVCS |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | OS X | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
html2text-1.3.2.ebuild.patch
html2text-osx.patch Ebuild patch, patch only for OS X |
||
|
Description
Thomas Kjosmoen
2005-08-30 18:24:17 UTC
Created attachment 67304 [details, diff]
html2text-1.3.2.ebuild.patch
Enables the patching for 1.3.2a if gcc has version 3.3 and higher OR 4 and
higher.
Created attachment 67305 [details, diff]
html2text-osx.patch
This patch fixes compilation errors.
the -e is purely cosmetic (upstream should have used echo -n IMHO), so I dropped it. Made rest of the patch unconditional, as it seems not to harm x86. Tested it with html2text http://www.gentoo.org/ and html2text http://monetdb.cwi.nl/ : worked fine Marked ~ppc-macos in CVS This patch broke things in the outer world, please have a look at #105051, we need advice on what you need I believe the line:
epatch ${FILESDIR}/${P}-darwin.patch
should be changed to (as I had in my submitted patch):
use ppc-macos && epatch ${FILESDIR}/${P}-darwin.patch
since this is a patch that only applies to OS X.
I'll add a new patch that solves this problem. Should I reopen this bug?
Created attachment 70787 [details, diff]
Ebuild patch, patch only for OS X
This patch applies to the current 1.3.2 ebuild in portage, and it will only
patch for OS X. There shouldn't be any reason to patch for non-OS X.
see other bug for the solution. We don't want conditional patches, they are bad and hard to maintain. |