View | Details | Raw Unified | Return to bug 185313
Collapse All | Expand All

(-)graphics/xmms-gdancer/Makefile (-7 / +12 lines)
Lines 11-30 Link Here
11
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	XMMS Visualization plugin, displays dancing figures
12
COMMENT=	XMMS Visualization plugin, displays dancing figures
13
13
14
LIB_DEPENDS=	xmms.4:${PORTSDIR}/multimedia/xmms
14
LICENSE=	GPLv2 # (or later)
15
15
16
LIB_DEPENDS=	libxmms.so:${PORTSDIR}/multimedia/xmms
17
18
USES=		gmake
16
USE_GNOME=	gtk12
19
USE_GNOME=	gtk12
17
USE_GMAKE=	yes
20
USE_CSTD=	gnu89
18
GNU_CONFIGURE=	yes
21
USE_AUTOTOOLS=	libtool
19
22
20
PLIST_FILES=	lib/xmms/Visualization/gdancer.so
23
PLIST_FILES=	lib/xmms/Visualization/gdancer.so
21
24
22
NO_STAGE=	yes
23
post-patch:
25
post-patch:
24
	@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure
26
	@${REINPLACE_CMD} -e \
27
		's|-O2|@CFLAGS@| ; \
28
		 s|@GDK_PIXBUF_LIBS@||' ${WRKSRC}/src/Makefile.in
25
29
26
do-install:
30
do-install:
27
	${INSTALL_DATA} ${WRKSRC}/src/.libs/gdancer.so ${PREFIX}/lib/xmms/Visualization
31
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Visualization
28
	@${CAT} ${PKGMESSAGE}
32
	(cd ${WRKSRC}/src/.libs && ${INSTALL_LIB} gdancer.so \
33
		${STAGEDIR}${PREFIX}/lib/xmms/Visualization)
29
34
30
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)graphics/xmms-gdancer/files/patch-src__image.c (+37 lines)
Line 0 Link Here
1
--- src/image.c.orig
2
+++ src/image.c
3
@@ -1,5 +1,6 @@
4
 #include <gtk/gtk.h>
5
 #include <unistd.h>
6
+#include <stdio.h>
7
 #include <stdlib.h>
8
 #include <string.h>
9
 
10
@@ -12,6 +13,9 @@
11
 #include "../pics/neutral.xpm"	// *neutralimage[]
12
 #include "../pics/treble.xpm"	// *trebleimage[]
13
 
14
+void gd_image_change (GDancer *, enum gd_freq_type, gboolean);
15
+void load_images (GDancer *);
16
+
17
 // Clears the pixmaps from memory
18
 void clear_images_sub (frame *frame)
19
 {
20
@@ -109,7 +113,7 @@
21
 	}
22
 }
23
 
24
-gint load_images (GDancer *dancer)
25
+void load_images (GDancer *dancer)
26
 {
27
 	if (dancer->window == NULL) return; // Make sure dancer exists
28
 	
29
@@ -183,7 +187,7 @@
30
 	gd_move_window (dancer);
31
 }
32
 
33
-gint gd_image_change (GDancer *dancer, enum gd_freq_type newtype, gboolean always_draw)
34
+void gd_image_change (GDancer *dancer, enum gd_freq_type newtype, gboolean always_draw)
35
 {
36
 	static frame *oldtype = NULL;
37
 	frame *type;

Return to bug 185313