diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2010-04-22 23:09:13 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2010-04-22 23:09:13 +0800 |
commit | 905db4dd414278f9663bffc19097beb72c5ceeca (patch) | |
tree | 74ac00cca8c0bb8b20a6630771485fab54ac8cd2 /audio | |
parent | aac54c7fe67d4720ac62cf0cfa141a6cb6fbfa8a (diff) | |
download | freebsd-ports-gnome-905db4dd414278f9663bffc19097beb72c5ceeca.tar.gz freebsd-ports-gnome-905db4dd414278f9663bffc19097beb72c5ceeca.tar.zst freebsd-ports-gnome-905db4dd414278f9663bffc19097beb72c5ceeca.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
Diffstat (limited to 'audio')
-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); + } |