[MacPorts] #13472: gnucash 2.2.1 fails to build on Leopard
(10.5.1)
MacPorts
trac at macosforge.org
Sun Jan 13 05:37:18 PST 2008
#13472: gnucash 2.2.1 fails to build on Leopard (10.5.1)
---------------------------------------+------------------------------------
Reporter: sinclair.jesse at gmail.com | Owner: mas at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.2
Resolution: | Keywords:
---------------------------------------+------------------------------------
Comment (by petr.snyder at yahoo.co.uk):
Replying to [comment:14 nigel at nigelking.me.uk]:
> message
> [http://www.mail-archive.com/gnucash-devel@gnucash.org/msg19126.html]
> fixes this problem in _mark_split. There must be a way to put the change
in the portfile but I am not sufficiently skilled. I acheived the deletion
in SplitP.h by stopping the install just after the file had been extracted
and before building and then restarting after the change-big hack!
This is probably a "Leopardish" gnucash-bug and is to fixed somewhere
else, but in the meantime You can cat or paste this
{{{
--- src/engine/SplitP.h.orig 2007-08-19 15:46:19.000000000 +0200
+++ src/engine/SplitP.h 2008-01-13 10:55:05.000000000 +0100
@@ -149,7 +149,7 @@
Split * xaccSplitClone (const Split *s);
Split *xaccDupeSplit (const Split *s);
-G_INLINE_FUNC void mark_split (Split *s);
+void mark_split (Split *s);
void xaccSplitVoid(Split *split);
void xaccSplitUnvoid(Split *split);
}}}
to a new file named '''"patch-SplitP.h.diff"''' in the gnucash/files port
directory.
Now just edit the Portfile and add that filename to the patchfiles-
directive that has been patched in before (see
[http://trac.macosforge.org/projects/macports/attachment/ticket/13472
/Portfile-gnucash.diff Portfile-gnucash.diff]), so that it reads
{{{
patchfiles patch-configure.in patch-SplitP.h.diff
}}}
That worked for me on a good old Powermac ;-). A first test didn't produce
any runtime errors.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13472#comment:18>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list