1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/cad/alliance/files/patch-elp_src_elp.c
John Marino a3951781e6 cad/alliance: Upgrade version 5.0.20090901 => 5.0.20120515, stage
This port was marked broken due to a bison error.  The newest version had
the same flaw, but I got the fix from Debian.  The 5.0.20120512 is also
not limited to i386, it builds fine on amd64 now.

It is still not jobs safe (it can't find libVrd before it's built) but
I suspect only minor changes are necessary to make it jobs safe.
2014-08-30 16:41:04 +00:00

45 lines
916 B
C

--- elp/src/elp.c.orig 2002-06-12 12:54:39 UTC
+++ elp/src/elp.c
@@ -62,6 +62,7 @@ elpFCT elpenv()
if ( str == (char *)NULL ) str = ALLIANCE_TOP;
sprintf( elpTechnoFile, "%s/%s", str, TECHNOLOGY );
}
+ return (0);
}
/*****************************************************************************/
@@ -249,7 +250,7 @@ if(elpGeneral[elpACM] == 1.0)
lotrs->PS = lotrs->PD = lotrs->WIDTH ;
}
-return ;
+return 0;
}
@@ -457,7 +458,7 @@ if((lotrs->PS != 0.0) && (lotrs->XS != 0
addcapa( lotrs->SOURCE->SIG, elpLotrsCapaSource(lotrs) ) ;
}
-return ;
+return 0;
}
@@ -487,7 +488,7 @@ for(lotrs = lofig->LOTRS ; lotrs != NULL
addcapa( lotrs->GRID->SIG, elpLotrsCapaGrid(lotrs) );
}
-return ;
+return 0;
}
@@ -515,5 +516,5 @@ lotrs_list *lotrs ;
for(lotrs = lofig->LOTRS ; lotrs != NULL ; lotrs = lotrs->NEXT)
elpLotrsShrink(lotrs) ;
-return ;
+return 0;
}