pkgsrc/games/quakeforge/patches/patch-al
tnn 0487aad739 Apply patches from PR pkg/37837 to get quakeforge going on DragonFly.
Also fixes the usual gcc4 suspects. (static/extern storage class mismatch)
2008-01-23 04:59:35 +00:00

29 lines
674 B
Text

$NetBSD: patch-al,v 1.1 2008/01/23 04:59:36 tnn Exp $
--- libs/gib/gib_classes.c.orig 2003-11-29 02:01:31.000000000 +0000
+++ libs/gib/gib_classes.c
@@ -192,7 +192,7 @@ Object_Class_Children_f (gib_object_t *o
unsigned int size;
unsigned int i = 0;
- static qboolean
+ qboolean
iterator (gib_class_t *class, void *unused)
{
reply[i++] = class->name;
@@ -610,13 +610,13 @@ GIB_Classes_Build_Scripted (const char *
gib_classdesc_t desc;
enum {CLASS, INSTANCE} mode = INSTANCE;
- static void
+ void
mtabfree (void *mtab, void *unused)
{
free (mtab);
}
- static const char *
+ const char *
fname (const char *str)
{
if (mode == INSTANCE)