Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 08:16:48 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350429 - in head/audio/taglookup: . files
Message-ID:  <201404070816.s378GmKh024437@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Apr  7 08:16:47 2014
New Revision: 350429
URL: http://svnweb.freebsd.org/changeset/ports/350429
QAT: https://qat.redports.org/buildarchive/r350429/

Log:
  Support stage
  Fix build with clang

Added:
  head/audio/taglookup/files/patch-command_line.cpp   (contents, props changed)
Modified:
  head/audio/taglookup/Makefile
  head/audio/taglookup/files/patch-Makefile

Modified: head/audio/taglookup/Makefile
==============================================================================
--- head/audio/taglookup/Makefile	Mon Apr  7 07:44:21 2014	(r350428)
+++ head/audio/taglookup/Makefile	Mon Apr  7 08:16:47 2014	(r350429)
@@ -15,9 +15,8 @@ LIB_DEPENDS=	libcddb.so:${PORTSDIR}/audi
 		libtag.so:${PORTSDIR}/audio/taglib
 
 USES=		pkgconfig
-NO_STAGE=	yes
 
-MAN1=		taglookup.1
-PLIST_FILES=	bin/taglookup
+PLIST_FILES=	bin/taglookup \
+		man/man1/taglookup.1.gz
 
 .include <bsd.port.mk>

Modified: head/audio/taglookup/files/patch-Makefile
==============================================================================
--- head/audio/taglookup/files/patch-Makefile	Mon Apr  7 07:44:21 2014	(r350428)
+++ head/audio/taglookup/files/patch-Makefile	Mon Apr  7 08:16:47 2014	(r350429)
@@ -1,5 +1,5 @@
---- ./Makefile.orig	2007-10-29 08:02:54.000000000 -0400
-+++ ./Makefile	2011-03-18 18:59:23.000000000 -0400
+--- ./Makefile.orig	2007-10-29 13:02:54.000000000 +0100
++++ ./Makefile	2014-04-07 10:15:45.329720325 +0200
 @@ -4,7 +4,7 @@
  TAGLIB_INCLUDE = `taglib-config --cflags`
  TAGLIB_LIBRARY = `taglib-config --libs`
@@ -9,3 +9,14 @@
  
  CPPFLAGS = -Wall $(TAGLIB_INCLUDE) $(LIBCDDB_INCLUDE) -c
  LDFLAGS = $(TAGLIB_LIBRARY) $(LIBCDDB_LIBRARY)
+@@ -18,8 +18,8 @@
+ all: $(EXE)
+ 
+ install: $(EXE)
+-	$(INSTALL) -c -o root -g wheel -m 644 taglookup.1 $(PREFIX)/man/man1/taglookup.1
+-	$(INSTALL) -c -o root -g wheel -m 755 $(EXE) $(PREFIX)/bin/taglookup
++	$(INSTALL) -c -m 644 taglookup.1 $(DESTDIR)$(PREFIX)/man/man1/taglookup.1
++	$(INSTALL) -c -m 755 $(EXE) $(DESTDIR)$(PREFIX)/bin/taglookup
+ 
+ $(EXE): $(OBJ)
+ 	$(CPP) $(LDFLAGS) $(OBJ) -o $(EXE)

Added: head/audio/taglookup/files/patch-command_line.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/taglookup/files/patch-command_line.cpp	Mon Apr  7 08:16:47 2014	(r350429)
@@ -0,0 +1,11 @@
+--- ./command_line.cpp.orig	2007-10-01 21:09:46.000000000 +0200
++++ ./command_line.cpp	2014-04-07 10:14:49.462722923 +0200
+@@ -105,7 +105,7 @@
+     
+     bool CommandLineArgumentsParser::parsePort()
+     {
+-        int port = (int)std::strtol(ct_.c_str(), (char**)NULL, 10);
++        int port = (int)strtol(ct_.c_str(), (char**)NULL, 10);
+         
+         if(port > 32767 || port <= 0)
+         {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404070816.s378GmKh024437>