Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 08:17:34 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r350430 - in branches/2014Q2/audio/taglookup: . files
Message-ID:  <201404070817.s378HYbx024654@svn.freebsd.org>

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

Log:
  MFH: r350429
  
  Support stage
  Fix build with clang

Added:
  branches/2014Q2/audio/taglookup/files/patch-command_line.cpp
     - copied unchanged from r350429, head/audio/taglookup/files/patch-command_line.cpp
Modified:
  branches/2014Q2/audio/taglookup/Makefile
  branches/2014Q2/audio/taglookup/files/patch-Makefile
Directory Properties:
  branches/2014Q2/   (props changed)

Modified: branches/2014Q2/audio/taglookup/Makefile
==============================================================================
--- branches/2014Q2/audio/taglookup/Makefile	Mon Apr  7 08:16:47 2014	(r350429)
+++ branches/2014Q2/audio/taglookup/Makefile	Mon Apr  7 08:17:34 2014	(r350430)
@@ -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: branches/2014Q2/audio/taglookup/files/patch-Makefile
==============================================================================
--- branches/2014Q2/audio/taglookup/files/patch-Makefile	Mon Apr  7 08:16:47 2014	(r350429)
+++ branches/2014Q2/audio/taglookup/files/patch-Makefile	Mon Apr  7 08:17:34 2014	(r350430)
@@ -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)

Copied: branches/2014Q2/audio/taglookup/files/patch-command_line.cpp (from r350429, head/audio/taglookup/files/patch-command_line.cpp)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2014Q2/audio/taglookup/files/patch-command_line.cpp	Mon Apr  7 08:17:34 2014	(r350430, copy of r350429, head/audio/taglookup/files/patch-command_line.cpp)
@@ -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?201404070817.s378HYbx024654>