View | Details | Raw Unified | Return to bug 144718 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/ports/sunpoet/libmp3splt/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	libmp3splt
8
PORTNAME=	libmp3splt
9
PORTVERSION=	0.5.8a
9
PORTVERSION=	0.5.9
10
CATEGORIES=	audio
10
CATEGORIES=	audio
11
MASTER_SITES=	SF/mp3splt/${PORTNAME}/${PORTVERSION}
11
MASTER_SITES=	SF/mp3splt/${PORTNAME}/${PORTVERSION}
12
12
(-)/usr/ports/sunpoet/libmp3splt/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (libmp3splt-0.5.8a.tar.gz) = 56ee6cdb72c5dd6e8a62299772b202c5
1
MD5 (libmp3splt-0.5.9.tar.gz) = 2a29c8a8965d45ae89582a3f112f48e3
2
SHA256 (libmp3splt-0.5.8a.tar.gz) = cd0ae2fdece161904fcaff566190c2608f10af9e874c4daa8f9a257f9e7226dc
2
SHA256 (libmp3splt-0.5.9.tar.gz) = ea25c307ff5ceab720eb1ce03d14f7ade43dda6f0f1f08dfcbba5a05e25a248a
3
SIZE (libmp3splt-0.5.8a.tar.gz) = 499985
3
SIZE (libmp3splt-0.5.9.tar.gz) = 506810
(-)/usr/ports/sunpoet/libmp3splt/files/patch-include-libmp3splt-splt.h (+14 lines)
Line 0 Link Here
1
--- include/libmp3splt/splt.h.orig	2010-02-09 07:24:14.000000000 +0800
2
+++ include/libmp3splt/splt.h	2010-03-14 02:42:28.000000000 +0800
3
@@ -60,7 +60,11 @@
4
 #define ftello ftell
5
 #endif
6
 
7
+#ifdef ENABLE_NLS
8
 #define _(STR) dgettext(MP3SPLT_LIB_GETTEXT_DOMAIN, STR)
9
+#else
10
+#define _(STR) STR
11
+#endif
12
 
13
 /**********************************/
14
 /* splt normal or syncerror split */
(-)/usr/ports/sunpoet/libmp3splt/files/patch-src-mp3splt.c (+16 lines)
Line 0 Link Here
1
--- src/mp3splt.c.orig	2010-02-18 04:23:39.000000000 +0800
2
+++ src/mp3splt.c	2010-03-14 02:51:51.000000000 +0800
3
@@ -58,11 +58,13 @@
4
   }
5
   else
6
   {
7
+#ifdef ENABLE_NLS
8
 #ifndef __WIN32__
9
     bindtextdomain(MP3SPLT_LIB_GETTEXT_DOMAIN, LOCALEDIR);
10
 #endif
11
 
12
     bind_textdomain_codeset(MP3SPLT_LIB_GETTEXT_DOMAIN, "UTF-8");
13
+#endif
14
 
15
     state = splt_t_new_state(state, err);
16
   }

Return to bug 144718