svn commit: r339610 - in head/audio/xmms-mp3cue: . files
John Marino
marino at FreeBSD.org
Mon Jan 13 17:13:12 UTC 2014
Author: marino
Date: Mon Jan 13 17:13:11 2014
New Revision: 339610
URL: http://svnweb.freebsd.org/changeset/ports/339610
Log:
audio/xmms-mp3cue: Unbreak and support stage
This port had two major c++ issues.
The first was missing <cstlib> header and using <string> instead of
<cstring>. The second was the default setting of CC to "g++" which
fails on F10+.
Unbreak and stagify under the "Just fix it" blanket.
Added:
head/audio/xmms-mp3cue/files/patch-ID3tag.C (contents, props changed)
head/audio/xmms-mp3cue/files/patch-Makefile.in (contents, props changed)
Modified:
head/audio/xmms-mp3cue/Makefile
Modified: head/audio/xmms-mp3cue/Makefile
==============================================================================
--- head/audio/xmms-mp3cue/Makefile Mon Jan 13 17:03:04 2014 (r339609)
+++ head/audio/xmms-mp3cue/Makefile Mon Jan 13 17:13:11 2014 (r339610)
@@ -15,12 +15,12 @@ LIB_DEPENDS= libxmms.so:${PORTSDIR}/mult
GNU_CONFIGURE= yes
USES= gmake
-NO_STAGE= yes
PLIST_SUB= PORTDOCS=${DISTNAME}
CFLAGS_amd64= -fPIC
CFLAGS_ia64= -fPIC
+MAKE_ARGS+= CC="${CXX}"
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/*.c
Added: head/audio/xmms-mp3cue/files/patch-ID3tag.C
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/xmms-mp3cue/files/patch-ID3tag.C Mon Jan 13 17:13:11 2014 (r339610)
@@ -0,0 +1,12 @@
+--- ID3tag.C.orig 2003-10-22 08:23:00.000000000 +0000
++++ ID3tag.C
+@@ -27,7 +27,8 @@ Pune 411001
+ INDIA
+ */
+
+-#include <string>
++#include <cstring>
++#include <cstdlib>
+ #include <iostream>
+ using namespace std;
+
Added: head/audio/xmms-mp3cue/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/xmms-mp3cue/files/patch-Makefile.in Mon Jan 13 17:13:11 2014 (r339610)
@@ -0,0 +1,15 @@
+--- Makefile.in.orig 2003-10-22 08:23:00.000000000 +0000
++++ Makefile.in
+@@ -33,9 +33,9 @@ distclean: clean
+ rm -rf config.* Makefile tmp *.tar.gz
+
+ install: mp3cue
+- $(mkinstalldirs) $(INSTALLPATH) $(PREFIX)/share/doc/$(PACKAGE)-$(VERSION)
+- $(INSTALL) -s $(TARGET) $(INSTALLPATH)
+- $(INSTALL) $(DOCS) $(PREFIX)/share/doc/$(PACKAGE)-$(VERSION)
++ $(mkinstalldirs) $(DESTDIR)$(INSTALLPATH) $(DESTDIR)$(PREFIX)/share/doc/$(PACKAGE)-$(VERSION)
++ $(INSTALL) -s $(TARGET) $(DESTDIR)$(INSTALLPATH)
++ $(INSTALL) $(DOCS) $(DESTDIR)$(PREFIX)/share/doc/$(PACKAGE)-$(VERSION)
+
+ mp3cue: $(OBJS)
+ $(CC) -o $(TARGET) $(OBJS) $(LDFLAGS)
More information about the svn-ports-all
mailing list