Skip to content
Permalink
Browse files

audio/ncmpcpp added patch to fix compilation with clang++ (thanks Cle…

…mens)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@118257 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Ryan Stonecipher
Ryan Stonecipher committed Mar 27, 2014
1 parent a4f18c3 commit d1f3faf82c1f0367599cc192b8e68ce81c31c21b
Showing with 14 additions and 2 deletions.
  1. +3 −2 audio/ncmpcpp/Portfile
  2. +11 −0 audio/ncmpcpp/files/patch-src-strbuffer.h.diff
@@ -5,7 +5,7 @@ PortSystem 1.0

name ncmpcpp
version 0.5.10
revision 2
revision 3
categories audio
maintainers rmstonecipher openmaintainer
description an ncurses mpd client inspired by ncmpc
@@ -28,7 +28,8 @@ depends_lib port:curl \
port:ncurses \
port:taglib

patchfiles fix_clang_errors.diff
patchfiles fix_clang_errors.diff \
patch-src-strbuffer.h.diff

variant visualizer description "Enable Visualizer" {
configure.args-append --enable-visualizer
@@ -0,0 +1,11 @@
--- src/strbuffer.h.orig 2014-03-27 12:48:25.000000000 -0500
+++ src/strbuffer.h 2014-03-27 12:49:10.000000000 -0500
@@ -79,7 +79,7 @@
size_t Position;
short Value;

- bool operator<(const FormatPos &f)
+ bool operator<(const FormatPos &f) const
{
return Position < f.Position;
}

0 comments on commit d1f3faf

Please sign in to comment.
You can’t perform that action at this time.