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

Collapse All | Expand All

(-)/usr/home/citrin/libmp3splt/Makefile (-1 / +2 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
Lines 16-21 Link Here
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
USE_AUTOTOOLS=	libltdl
18
USE_AUTOTOOLS=	libltdl
19
MAKE_JOBS_SAFE=	yes
19
20
20
OPTIONS=	MP3	"mp3 support"	on \
21
OPTIONS=	MP3	"mp3 support"	on \
21
		ID3	"id3tag support for the mp3"	on \
22
		ID3	"id3tag support for the mp3"	on \
(-)/usr/home/citrin/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/home/citrin/libmp3splt/files/patch-disable-nsl (+40 lines)
Line 0 Link Here
1
--- include/libmp3splt/splt.h.orig	2010-04-22 12:28:38.000000000 +0400
2
+++ include/libmp3splt/splt.h	2010-04-22 12:31:02.000000000 +0400
3
@@ -52,7 +52,9 @@
4
 #endif
5
 
6
 #include <limits.h>
7
+#ifdef ENABLE_NLS
8
 #include <libintl.h>
9
+#endif
10
 #include <locale.h>
11
 
12
 #if !HAVE_FSEEKO
13
@@ -60,7 +62,11 @@
14
 #define ftello ftell
15
 #endif
16
 
17
+#ifdef ENABLE_NLS
18
 #define _(STR) dgettext(MP3SPLT_LIB_GETTEXT_DOMAIN, STR)
19
+#else
20
+#define _(STR) STR
21
+#endif
22
 
23
 /**********************************/
24
 /* splt normal or syncerror split */
25
--- src/mp3splt.c.orig	2010-04-22 12:48:29.000000000 +0400
26
+++ src/mp3splt.c	2010-04-22 12:49:02.000000000 +0400
27
@@ -58,11 +58,13 @@ splt_state *mp3splt_new_state(int *error
28
   }
29
   else
30
   {
31
+#ifdef ENABLE_NLS
32
 #ifndef __WIN32__
33
     bindtextdomain(MP3SPLT_LIB_GETTEXT_DOMAIN, LOCALEDIR);
34
 #endif
35
 
36
     bind_textdomain_codeset(MP3SPLT_LIB_GETTEXT_DOMAIN, "UTF-8");
37
+#endif
38
 
39
     state = splt_t_new_state(state, err);
40
   }

Return to bug 144718