From owner-svn-ports-head@FreeBSD.ORG Sun Jan 19 08:54:00 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF02FFA9; Sun, 19 Jan 2014 08:53:59 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BF28D1AD1; Sun, 19 Jan 2014 08:53:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0J8rx5s011680; Sun, 19 Jan 2014 08:53:59 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0J8rxPx011678; Sun, 19 Jan 2014 08:53:59 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201401190853.s0J8rxPx011678@svn.freebsd.org> From: Martin Wilke Date: Sun, 19 Jan 2014 08:53:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340231 - in head/graphics/xmms-gdancer: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 08:54:00 -0000 Author: miwi Date: Sun Jan 19 08:53:58 2014 New Revision: 340231 URL: http://svnweb.freebsd.org/changeset/ports/340231 QAT: https://qat.redports.org/buildarchive/r340231/ Log: - Fix build with clang PR: 185313 Submitted by: ports fury Added: head/graphics/xmms-gdancer/files/ head/graphics/xmms-gdancer/files/patch-src__image.c (contents, props changed) Modified: head/graphics/xmms-gdancer/Makefile (contents, props changed) Modified: head/graphics/xmms-gdancer/Makefile ============================================================================== --- head/graphics/xmms-gdancer/Makefile Sun Jan 19 05:57:29 2014 (r340230) +++ head/graphics/xmms-gdancer/Makefile Sun Jan 19 08:53:58 2014 (r340231) @@ -11,20 +11,25 @@ DISTNAME= gdancer-$(PORTVERSION) MAINTAINER= ports@FreeBSD.org COMMENT= XMMS Visualization plugin, displays dancing figures -LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms +LICENSE= GPLv2 # (or later) +LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms + +USES= gmake USE_GNOME= gtk12 -USE_GMAKE= yes -GNU_CONFIGURE= yes +USE_CSTD= gnu89 +USE_AUTOTOOLS= libtool PLIST_FILES= lib/xmms/Visualization/gdancer.so -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|-O2|@CFLAGS@| ; \ + s|@GDK_PIXBUF_LIBS@||' ${WRKSRC}/src/Makefile.in do-install: - ${INSTALL_DATA} ${WRKSRC}/src/.libs/gdancer.so ${PREFIX}/lib/xmms/Visualization - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Visualization + (cd ${WRKSRC}/src/.libs && ${INSTALL_LIB} gdancer.so \ + ${STAGEDIR}${PREFIX}/lib/xmms/Visualization) .include Added: head/graphics/xmms-gdancer/files/patch-src__image.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/xmms-gdancer/files/patch-src__image.c Sun Jan 19 08:53:58 2014 (r340231) @@ -0,0 +1,37 @@ +--- src/image.c.orig ++++ src/image.c +@@ -1,5 +1,6 @@ + #include + #include ++#include + #include + #include + +@@ -12,6 +13,9 @@ + #include "../pics/neutral.xpm" // *neutralimage[] + #include "../pics/treble.xpm" // *trebleimage[] + ++void gd_image_change (GDancer *, enum gd_freq_type, gboolean); ++void load_images (GDancer *); ++ + // Clears the pixmaps from memory + void clear_images_sub (frame *frame) + { +@@ -109,7 +113,7 @@ + } + } + +-gint load_images (GDancer *dancer) ++void load_images (GDancer *dancer) + { + if (dancer->window == NULL) return; // Make sure dancer exists + +@@ -183,7 +187,7 @@ + gd_move_window (dancer); + } + +-gint gd_image_change (GDancer *dancer, enum gd_freq_type newtype, gboolean always_draw) ++void gd_image_change (GDancer *dancer, enum gd_freq_type newtype, gboolean always_draw) + { + static frame *oldtype = NULL; + frame *type;