freebsd-ports/graphics/ayam/files/patch-MF3D_mfprimtv.c
John Marino 818a717d93 graphics/ayam: upgrade version 1.20 => 1.22
I reverted most of the changes from 1-step to compound installation
commands.

PR:		199232
Submitted by:	ports fury
2015-10-10 14:49:28 +00:00

11 lines
424 B
C

--- MF3D/mfprimtv.c.orig 2015-06-23 18:03:50 UTC
+++ MF3D/mfprimtv.c
@@ -1000,7 +1000,7 @@ MF3D_LabelWrite (
if (result == kMF3DNoErr)
{
++metafile->tocStuff.numReferences;
- result = MF3D_Reallocate (&metafile->tocStuff.references,
+ result = MF3D_Reallocate ((void **)&metafile->tocStuff.references,
(metafile->tocStuff.numReferences *
sizeof (*metafile->tocStuff.references)));
}