- Update to 0.3.3

Approved by:	miwi (mentor)
This commit is contained in:
Dennis Herrmann 2009-04-04 10:27:21 +00:00
parent 0b531c1ec4
commit 148a2102e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231577
3 changed files with 4 additions and 42 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= ncmpcpp
PORTVERSION= 0.3.2
PORTVERSION= 0.3.3
CATEGORIES= audio
MASTER_SITES= http://unkart.ovh.org/ncmpcpp/ \
http://mirror.mcx2.org/

View file

@ -1,3 +1,3 @@
MD5 (ncmpcpp-0.3.2.tar.bz2) = e2159a391b21d3fcf9a4613f589fb213
SHA256 (ncmpcpp-0.3.2.tar.bz2) = 332a44835c399cca09254e1dd2fbd5342733a7b92d56379506d039fbbc4b40ae
SIZE (ncmpcpp-0.3.2.tar.bz2) = 323371
MD5 (ncmpcpp-0.3.3.tar.bz2) = 409406e353bc8a7f5b8cfc4247d7d562
SHA256 (ncmpcpp-0.3.3.tar.bz2) = 8208107f311ffd68b650cf42c4d4a8e54a03523ab44aaef918651e94d6d514b6
SIZE (ncmpcpp-0.3.3.tar.bz2) = 326324

View file

@ -1,38 +0,0 @@
--- 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