pkgsrc/games/koth/patches/patch-ac
joerg c708527854 libggi is a threaded library, so enforce thread linkage. Otherwise
configure bails out e.g. on DragonFly, since the linkage test fails.
Fix GCC 3.4+: label at end of compound statement.
2006-03-29 22:38:30 +00:00

20 lines
487 B
Text

$NetBSD: patch-ac,v 1.3 2006/03/29 22:38:30 joerg Exp $
--- src/ballistics.c.orig 2006-03-29 20:56:34.000000000 +0000
+++ src/ballistics.c
@@ -92,6 +92,7 @@ void balSetWall()
break;
case WALL_LAST:
/* just to satisfy gcc -Wall */
+ break;
}
}
@@ -210,6 +211,7 @@ Shellstat_bal balEnvironmentAdjustProjPo
break;
case WALL_RANDOM: /* both of this can't happen, */
case WALL_LAST: /* so they are here to satisfy gcc -Wall */
+ break;
}
}