aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-06-16 19:31:31 +0800
committerwg <wg@FreeBSD.org>2013-06-16 19:31:31 +0800
commitd289a93182ced3d9247f693c73cbcfb6a2c7703e (patch)
treee3aae34f8f858684b3a002971ef36d014a234114 /multimedia
parentcf7e3eabbef90013f79b4f34c436a2dbed026776 (diff)
downloadfreebsd-ports-gnome-d289a93182ced3d9247f693c73cbcfb6a2c7703e.tar.gz
freebsd-ports-gnome-d289a93182ced3d9247f693c73cbcfb6a2c7703e.tar.zst
freebsd-ports-gnome-d289a93182ced3d9247f693c73cbcfb6a2c7703e.zip
multimedia/gxanim: fix build with clang
- Fix build with clang, main int arg - Add LICENSE (GPLv2) - Trim Makefile header Approved by: culot / jpaetzel (mentors, implicit)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gxanim/Makefile8
-rw-r--r--multimedia/gxanim/files/patch-gxanim.c13
2 files changed, 16 insertions, 5 deletions
diff --git a/multimedia/gxanim/Makefile b/multimedia/gxanim/Makefile
index eca8bb723157..46b6bb8bf09c 100644
--- a/multimedia/gxanim/Makefile
+++ b/multimedia/gxanim/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xanim
-# Date created: Sat Nov 5 11:43:03 PST 1994
-# Whom: Rod Taylor
-#
+# Created by: Rod Taylor
# $FreeBSD$
-#
PORTNAME= gxanim
PORTVERSION= 0.50
@@ -15,6 +11,8 @@ DISTNAME= GXAnim-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical front end to Xanim
+LICENSE= GPLv2
+
RUN_DEPENDS= xanim:${PORTSDIR}/multimedia/xanim
PLIST_FILES= bin/gxanim
diff --git a/multimedia/gxanim/files/patch-gxanim.c b/multimedia/gxanim/files/patch-gxanim.c
new file mode 100644
index 000000000000..5232a235a62c
--- /dev/null
+++ b/multimedia/gxanim/files/patch-gxanim.c
@@ -0,0 +1,13 @@
+diff --git gxanim.c gxanim.c
+index 139a789..2040b15 100644
+--- gxanim.c
++++ gxanim.c
+@@ -89,7 +89,7 @@ gint done_check(xcontrol *control)
+
+ */
+
+-int main (I16 argc, char *argv[])
++int main (int argc, char *argv[])
+ {
+ xcontrol control;
+