aboutsummaryrefslogtreecommitdiff
path: root/audio/osd-lyrics
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2012-05-31 14:41:06 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2012-05-31 14:41:06 +0000
commitf7289ded8c6e580e9919381687accaeaf87f7234 (patch)
treef1831749c8e5f9b4852fcbe200743576024905a3 /audio/osd-lyrics
parentac505c31cbf8668bba980c02da3801176b525c78 (diff)
downloadports-f7289ded8c6e580e9919381687accaeaf87f7234.tar.gz
ports-f7289ded8c6e580e9919381687accaeaf87f7234.zip
- Update to version 0.4.2
- Use short form for Google Code MASTER_SITES - Remove in-place patches that were integrated upstream - Remove BROKEN statement for FreeBSD 9.X, I did not find evidence it is so - Temporarily(?) disable -Werror to allow building with Clang without introducing local patches
Notes
Notes: svn path=/head/; revision=297878
Diffstat (limited to 'audio/osd-lyrics')
-rw-r--r--audio/osd-lyrics/Makefile27
-rw-r--r--audio/osd-lyrics/distinfo4
2 files changed, 7 insertions, 24 deletions
diff --git a/audio/osd-lyrics/Makefile b/audio/osd-lyrics/Makefile
index 45e6fa79440d..917a405f7cb3 100644
--- a/audio/osd-lyrics/Makefile
+++ b/audio/osd-lyrics/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= osdlyrics
-PORTVERSION= 0.4.1
-PORTREVISION= 1
+PORTVERSION= 0.4.2
CATEGORIES= audio deskutils
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PROJECTHOST= osd-lyrics
MAINTAINER= danfe@FreeBSD.org
@@ -23,6 +22,9 @@ LIB_DEPENDS= notify.4:${PORTSDIR}/devel/libnotify \
GNU_CONFIGURE= yes
CONFIGURE_ENV= DATADIRNAME=share
+# Cannot enable -Werror yet: Clang does not like the code `printf(_("..."))',
+# see this bug for details: http://llvm.org/bugs/show_bug.cgi?id=3814
+#CONFIGURE_ARGS= --with-werror
USE_GETTEXT= yes
USE_GMAKE= yes
USE_GNOME= gtk20
@@ -36,10 +38,6 @@ OPTIONS= MPD "Enable MPD support" off \
.include <bsd.port.options.mk>
-.if ${OSVERSION} >= 900000
-BROKEN= does not compile on FreeBSD 9.X
-.endif
-
.if defined(WITH_MPD)
LIB_DEPENDS+= mpd.4:${PORTSDIR}/audio/libmpd
.else
@@ -56,21 +54,6 @@ CONFIGURE_ARGS+= --disable-xmms2
CONFIGURE_ARGS+= --enable-amarok1
.endif
-post-patch:
-# Fix compilation warnings to unbreak the build with -Werror
- @${REINPLACE_CMD} -E 's/(char \*in = inbuf),/const \1; char/' \
- ${WRKSRC}/src/ol_lrc_parser.c
- @${REINPLACE_CMD} -e '/convert/s/char \*src/const &/' -e \
- 's/char \*\*input/const &/' \
- ${WRKSRC}/src/ol_lrc_fetch_utils.[ch]
- @${REINPLACE_CMD} -e 's/GdkColor ret/& = { .pixel = 0 }/' \
- ${WRKSRC}/src/ol_option.c
- @${REINPLACE_CMD} -e 's/static const gboolean/static gboolean/' \
- ${WRKSRC}/src/ol_player_muine.c
- @${REINPLACE_CMD} -e \
- '/!ol_player_amarok1_get_uint/s/[^ ]*))/(guint *)&/' \
- ${WRKSRC}/src/ol_player_amarok1.c
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/audio/osd-lyrics/distinfo b/audio/osd-lyrics/distinfo
index b516b9f2d2b8..5d98e33fae2c 100644
--- a/audio/osd-lyrics/distinfo
+++ b/audio/osd-lyrics/distinfo
@@ -1,2 +1,2 @@
-SHA256 (osdlyrics-0.4.1.tar.gz) = 6dc4ee8d90676f7ff6cbc6fb18228a21585d441a44c4074dc438e5ace8f38302
-SIZE (osdlyrics-0.4.1.tar.gz) = 614316
+SHA256 (osdlyrics-0.4.2.tar.gz) = ae7ce0c5985ffb54d37fe72e28c381d33e32e49832256de7222a1c6052e4b953
+SIZE (osdlyrics-0.4.2.tar.gz) = 637920