aboutsummaryrefslogtreecommitdiff
path: root/graphics/kudu
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kudu')
-rw-r--r--graphics/kudu/Makefile8
-rw-r--r--graphics/kudu/files/patch-src-about.c12
-rw-r--r--graphics/kudu/files/patch-src-gui__materials.c12
3 files changed, 27 insertions, 5 deletions
diff --git a/graphics/kudu/Makefile b/graphics/kudu/Makefile
index d556da014013..95f6087e86b9 100644
--- a/graphics/kudu/Makefile
+++ b/graphics/kudu/Makefile
@@ -1,9 +1,5 @@
-# ports collection makefile for: kudu
-# Date created: 28 Mar 2006
-# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
-#
+# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
-#
PORTNAME= kudu
PORTVERSION= 0.1.2
@@ -14,6 +10,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= 3D skeletal animation tool, powered by GTK+ and OpenGL
+LICENSE= GPLv2
+
LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
USE_GL= gl
diff --git a/graphics/kudu/files/patch-src-about.c b/graphics/kudu/files/patch-src-about.c
new file mode 100644
index 000000000000..2ffff060347a
--- /dev/null
+++ b/graphics/kudu/files/patch-src-about.c
@@ -0,0 +1,12 @@
+Clang compatibility
+--- src/about.c.orig 2006-08-09 22:50:25.000000000 +0400
++++ src/about.c 2013-06-13 20:38:32.250111722 +0400
+@@ -232,7 +232,7 @@
+ /* Closes the splash screen */
+ gboolean kudu_about_splash_close(void)
+ {
+- if (splash_win == NULL) return;
++ if (splash_win == NULL) return FALSE;
+
+ gulong ms;
+
diff --git a/graphics/kudu/files/patch-src-gui__materials.c b/graphics/kudu/files/patch-src-gui__materials.c
new file mode 100644
index 000000000000..dc527d24c9ac
--- /dev/null
+++ b/graphics/kudu/files/patch-src-gui__materials.c
@@ -0,0 +1,12 @@
+Clang compatibility
+--- src/gui_materials.c.orig 2006-01-22 12:37:31.000000000 +0300
++++ src/gui_materials.c 2013-06-13 20:40:43.037204137 +0400
+@@ -66,7 +66,7 @@
+ return TRUE;
+ }
+
+-int kudu_gui_materials_edit_init(GtkWidget *widget, gpointer data)
++void kudu_gui_materials_edit_init(GtkWidget *widget, gpointer data)
+ {
+ GdkGLContext *glContext = gtk_widget_get_gl_context(widget);
+ GdkGLDrawable *glDrawable = gtk_widget_get_gl_drawable(widget);