diff options
author | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2010-04-22 15:09:13 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2010-04-22 15:09:13 +0000 |
commit | c71081c3b31f50a92edeae9e38a69e2c3fe3bf18 (patch) | |
tree | 62c3168dfcd664c17654c39411d3f659bff8e47f /audio/libmp3splt | |
parent | 9fe0c5b688d23a9d95b2e2e10dea460f982c732b (diff) | |
download | ports-c71081c3b31f50a92edeae9e38a69e2c3fe3bf18.tar.gz ports-c71081c3b31f50a92edeae9e38a69e2c3fe3bf18.zip |
* Update to 0.5.9 [1]
* Fix build when WITHOUT_NLS is defined [2]
PR: 144718
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> [1], maintainer [2]
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=253058
Diffstat (limited to 'audio/libmp3splt')
-rw-r--r-- | audio/libmp3splt/Makefile | 3 | ||||
-rw-r--r-- | audio/libmp3splt/distinfo | 6 | ||||
-rw-r--r-- | audio/libmp3splt/files/patch-disable-nls | 40 |
3 files changed, 45 insertions, 4 deletions
diff --git a/audio/libmp3splt/Makefile b/audio/libmp3splt/Makefile index 828374345b63..7b78b91d6404 100644 --- a/audio/libmp3splt/Makefile +++ b/audio/libmp3splt/Makefile @@ -6,7 +6,7 @@ # PORTNAME= libmp3splt -PORTVERSION= 0.5.8a +PORTVERSION= 0.5.9 CATEGORIES= audio MASTER_SITES= SF/mp3splt/${PORTNAME}/${PORTVERSION} @@ -16,6 +16,7 @@ COMMENT= Library for mp3splt and mp3splt-gtk GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_AUTOTOOLS= libltdl +MAKE_JOBS_SAFE= yes OPTIONS= MP3 "mp3 support" on \ ID3 "id3tag support for the mp3" on \ diff --git a/audio/libmp3splt/distinfo b/audio/libmp3splt/distinfo index 61bd68b80fa1..57531b2c848c 100644 --- a/audio/libmp3splt/distinfo +++ b/audio/libmp3splt/distinfo @@ -1,3 +1,3 @@ -MD5 (libmp3splt-0.5.8a.tar.gz) = 56ee6cdb72c5dd6e8a62299772b202c5 -SHA256 (libmp3splt-0.5.8a.tar.gz) = cd0ae2fdece161904fcaff566190c2608f10af9e874c4daa8f9a257f9e7226dc -SIZE (libmp3splt-0.5.8a.tar.gz) = 499985 +MD5 (libmp3splt-0.5.9.tar.gz) = 2a29c8a8965d45ae89582a3f112f48e3 +SHA256 (libmp3splt-0.5.9.tar.gz) = ea25c307ff5ceab720eb1ce03d14f7ade43dda6f0f1f08dfcbba5a05e25a248a +SIZE (libmp3splt-0.5.9.tar.gz) = 506810 diff --git a/audio/libmp3splt/files/patch-disable-nls b/audio/libmp3splt/files/patch-disable-nls new file mode 100644 index 000000000000..e5ccefd56da7 --- /dev/null +++ b/audio/libmp3splt/files/patch-disable-nls @@ -0,0 +1,40 @@ +--- include/libmp3splt/splt.h.orig 2010-04-22 12:28:38.000000000 +0400 ++++ include/libmp3splt/splt.h 2010-04-22 12:31:02.000000000 +0400 +@@ -52,7 +52,9 @@ + #endif + + #include <limits.h> ++#ifdef ENABLE_NLS + #include <libintl.h> ++#endif + #include <locale.h> + + #if !HAVE_FSEEKO +@@ -60,7 +62,11 @@ + #define ftello ftell + #endif + ++#ifdef ENABLE_NLS + #define _(STR) dgettext(MP3SPLT_LIB_GETTEXT_DOMAIN, STR) ++#else ++#define _(STR) STR ++#endif + + /**********************************/ + /* splt normal or syncerror split */ +--- src/mp3splt.c.orig 2010-04-22 12:48:29.000000000 +0400 ++++ src/mp3splt.c 2010-04-22 12:49:02.000000000 +0400 +@@ -58,11 +58,13 @@ splt_state *mp3splt_new_state(int *error + } + else + { ++#ifdef ENABLE_NLS + #ifndef __WIN32__ + bindtextdomain(MP3SPLT_LIB_GETTEXT_DOMAIN, LOCALEDIR); + #endif + + bind_textdomain_codeset(MP3SPLT_LIB_GETTEXT_DOMAIN, "UTF-8"); ++#endif + + state = splt_t_new_state(state, err); + } |