aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/ncmpcpp/Makefile3
-rw-r--r--audio/ncmpcpp/distinfo6
-rw-r--r--audio/ncmpcpp/files/patch-src-lyrics.cpp11
-rw-r--r--audio/ncmpcpp/pkg-message2
4 files changed, 17 insertions, 5 deletions
diff --git a/audio/ncmpcpp/Makefile b/audio/ncmpcpp/Makefile
index ef6cc7dcb05c..8c615935e4b9 100644
--- a/audio/ncmpcpp/Makefile
+++ b/audio/ncmpcpp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ncmpcpp
-PORTVERSION= 0.2.1
+PORTVERSION= 0.2.2
CATEGORIES= audio
MASTER_SITES= http://unkart.ovh.org/ncmpcpp/ \
http://mirror.mcx2.org/
@@ -19,6 +19,7 @@ LIB_DEPENDS= ncursesw.5:${PORTSDIR}/devel/ncurses
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_ICONV= yes
+USE_GCC= 4.2+
USE_GNOME= glib20
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/audio/ncmpcpp/distinfo b/audio/ncmpcpp/distinfo
index 94271dfaeff1..177acbbfd2e1 100644
--- a/audio/ncmpcpp/distinfo
+++ b/audio/ncmpcpp/distinfo
@@ -1,3 +1,3 @@
-MD5 (ncmpcpp-0.2.1.tar.bz2) = 14d4022f9c9cd98cc4871e6335cdf26c
-SHA256 (ncmpcpp-0.2.1.tar.bz2) = 08718dd17341fbc6d9752738bcf631721686ed8c7e43a307eeb468c688f09fd9
-SIZE (ncmpcpp-0.2.1.tar.bz2) = 286624
+MD5 (ncmpcpp-0.2.2.tar.bz2) = 617e0dba49598ef73cab80653a58e6fa
+SHA256 (ncmpcpp-0.2.2.tar.bz2) = 4e6125d8b3efdf0669e81a22be5104f39286e85986feeaf8e374de3840270e4a
+SIZE (ncmpcpp-0.2.2.tar.bz2) = 290557
diff --git a/audio/ncmpcpp/files/patch-src-lyrics.cpp b/audio/ncmpcpp/files/patch-src-lyrics.cpp
new file mode 100644
index 000000000000..09f54057ada5
--- /dev/null
+++ b/audio/ncmpcpp/files/patch-src-lyrics.cpp
@@ -0,0 +1,11 @@
+--- src/lyrics.cpp.orig 2008-09-07 10:41:28.000000000 +0200
++++ src/lyrics.cpp 2008-09-07 10:41:51.000000000 +0200
+@@ -19,7 +19,7 @@
+ ***************************************************************************/
+
+ #include "lyrics.h"
+-#include <fcntl.h>
++#include <sys/stat.h>
+
+ const string lyrics_folder = home_folder + "/" + ".lyrics";
+
diff --git a/audio/ncmpcpp/pkg-message b/audio/ncmpcpp/pkg-message
index e6459212447a..6d26478bac1c 100644
--- a/audio/ncmpcpp/pkg-message
+++ b/audio/ncmpcpp/pkg-message
@@ -2,7 +2,7 @@
ncmpcpp has been installed.
A default ncmpcpprc config has been installed to:
-PREFIX/share/doc/ncmpcpprc.sample
+PREFIX/share/doc/ncmpcpp/ncmpcpprc
For more information about ncmpcpp visit:
http://unkart.ovh.org/ncmpcpp