diff options
author | dhn <dhn@FreeBSD.org> | 2009-03-20 05:31:35 +0800 |
---|---|---|
committer | dhn <dhn@FreeBSD.org> | 2009-03-20 05:31:35 +0800 |
commit | f49c05ad470d19ae9dabf31b8dc038183615e681 (patch) | |
tree | 8dcb93f8fa0eb0743dd70af4b7b5dbd8dcc9f7ce | |
parent | 1db06b479fb6b9fcede3e9538b3ab50089e38416 (diff) | |
download | freebsd-ports-gnome-f49c05ad470d19ae9dabf31b8dc038183615e681.tar.gz freebsd-ports-gnome-f49c05ad470d19ae9dabf31b8dc038183615e681.tar.zst freebsd-ports-gnome-f49c05ad470d19ae9dabf31b8dc038183615e681.zip |
- Update to 0.3.2
Approved by: miwi (mentor)
-rw-r--r-- | audio/ncmpcpp/Makefile | 4 | ||||
-rw-r--r-- | audio/ncmpcpp/distinfo | 6 | ||||
-rw-r--r-- | audio/ncmpcpp/files/patch-src_charset.h | 38 |
3 files changed, 44 insertions, 4 deletions
diff --git a/audio/ncmpcpp/Makefile b/audio/ncmpcpp/Makefile index c108da396d4a..d089b9c25eab 100644 --- a/audio/ncmpcpp/Makefile +++ b/audio/ncmpcpp/Makefile @@ -6,7 +6,7 @@ # PORTNAME= ncmpcpp -PORTVERSION= 0.3.1 +PORTVERSION= 0.3.2 CATEGORIES= audio MASTER_SITES= http://unkart.ovh.org/ncmpcpp/ \ http://mirror.mcx2.org/ @@ -23,6 +23,8 @@ ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -lpthread" +MAN1= ncmpcpp.1 + OPTIONS= CURL "Enable fetching lyrics from the Internet" on \ CLOCK "Enable clock-screen support" on \ UTF8 "Enable UTF8 support" on \ diff --git a/audio/ncmpcpp/distinfo b/audio/ncmpcpp/distinfo index 7bc43f192416..8fcf5d079068 100644 --- a/audio/ncmpcpp/distinfo +++ b/audio/ncmpcpp/distinfo @@ -1,3 +1,3 @@ -MD5 (ncmpcpp-0.3.1.tar.bz2) = 0ac67665faece8d7a193f3dcfa28e398 -SHA256 (ncmpcpp-0.3.1.tar.bz2) = 330c68cfc26afd7cf163170720e17099b6647c63242995deaeb97c9a16618733 -SIZE (ncmpcpp-0.3.1.tar.bz2) = 318651 +MD5 (ncmpcpp-0.3.2.tar.bz2) = e2159a391b21d3fcf9a4613f589fb213 +SHA256 (ncmpcpp-0.3.2.tar.bz2) = 332a44835c399cca09254e1dd2fbd5342733a7b92d56379506d039fbbc4b40ae +SIZE (ncmpcpp-0.3.2.tar.bz2) = 323371 diff --git a/audio/ncmpcpp/files/patch-src_charset.h b/audio/ncmpcpp/files/patch-src_charset.h new file mode 100644 index 000000000000..11bc75a1cefd --- /dev/null +++ b/audio/ncmpcpp/files/patch-src_charset.h @@ -0,0 +1,38 @@ +--- src/charset.h.orig ++++ src/charset.h +@@ -25,10 +25,10 @@ + #include <config.h> + #endif + +-#include <string> +- + #if defined(SUPPORTED_LOCALES) && defined(HAVE_ICONV_H) + ++#include <string> ++ + void init_current_locale(); + + void utf_to_locale(std::string &); +@@ -42,16 +42,16 @@ void str_pool_locale_to_utf(char *&); + + #else + +-void init_current_locale() { } ++#define init_current_locale(); + +-void utf_to_locale(std::string &) { } +-void locale_to_utf(std::string &) { } ++#define utf_to_locale(x); ++#define locale_to_utf(x); + +-std::string &utf_to_locale_cpy(const std::string &s) { return s; } +-std::string &locale_to_utf_cpy(const std::string &s) { return s; } ++#define utf_to_locale_cpy(x) (x) ++#define locale_to_utf_cpy(x) (x) + +-void str_pool_utf_to_locale(char *&) { } +-void str_pool_locale_to_utf(char *&) { } ++#define str_pool_utf_to_locale(x); ++#define str_pool_locale_to_utf(x); + + #endif // SUPPORTED_LOCALES && HAVE_ICONV_H |