- Trim makefile header

- Add LICENSE
- Fix build with clang
This commit is contained in:
Dmitry Marakasov 2013-06-14 12:31:57 +00:00
parent cbe23af079
commit 0c708c6a61
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320904
3 changed files with 27 additions and 5 deletions

View file

@ -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

View file

@ -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;

View file

@ -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);