From 2841f61ea11d059de0ea50bd31553a0e48e9c6f5 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Mon, 2 Dec 2013 19:21:09 +0000 Subject: - Fix build with clang - Drop maintainership - Stage support PR: ports/184206 Submitted by: Tsurutani Naoki (maintainer) --- audio/x11amp/Makefile | 5 +++-- audio/x11amp/files/patch-x11amp__controlsocket.c | 11 +++++++++++ audio/x11amp/files/patch-x11amp__playlist.c | 11 +++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 audio/x11amp/files/patch-x11amp__controlsocket.c create mode 100644 audio/x11amp/files/patch-x11amp__playlist.c (limited to 'audio') diff --git a/audio/x11amp/Makefile b/audio/x11amp/Makefile index fa14233cfccd..2aee567e27dd 100644 --- a/audio/x11amp/Makefile +++ b/audio/x11amp/Makefile @@ -9,11 +9,12 @@ MASTER_SITES= LOCAL MASTER_SITE_SUBDIR= hrs DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/-beta/} -MAINTAINER= turutani@scphys.kyoto-u.ac.jp +MAINTAINER= ports@FreeBSD.org COMMENT= X11-based MP3 player with nice graphical interface +LICENSE= GPLv2 + USE_GNOME= gtk12 esound -NO_STAGE= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static diff --git a/audio/x11amp/files/patch-x11amp__controlsocket.c b/audio/x11amp/files/patch-x11amp__controlsocket.c new file mode 100644 index 000000000000..b14ccc687bd7 --- /dev/null +++ b/audio/x11amp/files/patch-x11amp__controlsocket.c @@ -0,0 +1,11 @@ +--- ./x11amp/controlsocket.c.orig 1999-04-11 23:26:04.000000000 +0000 ++++ ./x11amp/controlsocket.c 2013-12-02 19:13:07.000000000 +0000 +@@ -178,7 +178,7 @@ + if(!select(fd+1,&set,NULL,NULL,&tv)) + { + close(fd); +- return; ++ pthread_exit(NULL); + } + pkt = g_malloc0(sizeof(PacketNode)); + read(fd,&pkt->hdr,sizeof(ClientPktHeader)); diff --git a/audio/x11amp/files/patch-x11amp__playlist.c b/audio/x11amp/files/patch-x11amp__playlist.c new file mode 100644 index 000000000000..d60ee4e72de1 --- /dev/null +++ b/audio/x11amp/files/patch-x11amp__playlist.c @@ -0,0 +1,11 @@ +--- ./x11amp/playlist.c.orig 1999-04-13 20:26:35.000000000 +0000 ++++ ./x11amp/playlist.c 2013-12-02 19:12:21.000000000 +0000 +@@ -224,7 +224,7 @@ + } + g_list_free(list); + playlist_generate_shuffle_list(); +- return; ++ return 0; + } + g_free(temp); + if(dir=opendir(path)) -- cgit v1.2.3