First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 104314
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo for Mac OS X <ppc-macos@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Kjosmoen <gentoo@kjosmoen.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
antiword-0.36.1.ebuild.patch antiword-0.36.1.ebuild.patch patch Thomas Kjosmoen 2005-08-30 16:24 0000 440 bytes Details | Diff
antiword-osx.patch antiword-osx.patch patch Thomas Kjosmoen 2005-08-30 16:25 0000 521 bytes Details | Diff
ebuild.diff changes made to the ebuild patch Fabian Groffen 2005-08-31 03:15 0000 978 bytes Details | Diff
antiword-0.36.1-ppc-macos.diff antiword-0.36.1-ppc-macos.diff patch Fabian Groffen 2005-08-31 03:16 0000 440 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 104314 depends on: Show dependency tree
Bug 104314 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-30 16:23 0000
The two patches included in this bug report will enable antiword to build on
ppc-macos. The patches will 
not affect any other platform, so it should be safe to apply.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Thomas Kjosmoen 2005-08-30 16:24:42 0000 -------
Created an attachment (id=67301) [edit]
antiword-0.36.1.ebuild.patch

Ebuild patch.

------- Comment #2 From Thomas Kjosmoen 2005-08-30 16:25:30 0000 -------
Created an attachment (id=67302) [edit]
antiword-osx.patch

antiword patch for OS X issues.

------- Comment #3 From Fabian Groffen 2005-08-31 03:14:30 0000 -------
I made some changes using your changes.  Please have a look at them in the
attachments I will post below.

A little list of things to look for:
1. make sure the patch patches when using epatch (the directory was one level
too 'deep' in the source tree)
2. don't patch in the src_compile function, instead patch in src_unpack
3. I prefer not to remove flags like -pedantic if this is not necesary
4. if it is possible, avoid making a conditional patch, it is easier for other
archs to test the patch if it is not conditional, as well as that it is more
obvious if a patch is always applied.  It also makes a patch more eligable to be
submitted upstream if it is not conditional...  (I think this one is)

the one and only kde USE flag is masked.  Tested on some doc files, and it
appears to work.

as ~ppc-macos in CVS

------- Comment #4 From Fabian Groffen 2005-08-31 03:15:31 0000 -------
Created an attachment (id=67334) [edit]
changes made to the ebuild

These are my changes made to the ebuild.

Thanks for your efforts, by the way.

------- Comment #5 From Fabian Groffen 2005-08-31 03:16:24 0000 -------
Created an attachment (id=67335) [edit]
antiword-0.36.1-ppc-macos.diff

My (minimal) changes made to the antiword sources to get it compiling.

------- Comment #6 From Thomas Kjosmoen 2005-08-31 09:19:07 0000 -------
Hi,

About your list of points there:
1. It applies just fine here when the patching is done in the src_compile function, but not in src_unpack.
2. Gotcha! That most certainly is better and explains number 1.
3. I agree. I was looking at the patch that darwinports uses, and they removed the "-pedantic". Goes to 
show that one shouldn't believe everything one reads. ;-)
4. Agree.

Thanks!

First Last Prev Next    No search results available      Search page      Enter new bug