FreeBSD Bugzilla – Attachment 104528 Details for
Bug 144719
[PATCH] audio/mp3splt: update to 2.2.8, fix build when WITHOUT_NLS is defined
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mp3splt-2.2.8.patch
mp3splt-2.2.8.patch (text/plain), 2.42 KB, created by
Sunpoet Po-Chuan Hsieh
on 2010-03-13 19:10:03 UTC
(
hide
)
Description:
mp3splt-2.2.8.patch
Filename:
MIME Type:
Creator:
Sunpoet Po-Chuan Hsieh
Created:
2010-03-13 19:10:03 UTC
Size:
2.42 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/audio/mp3splt/Makefile /usr/ports/sunpoet/mp3splt/Makefile >--- /usr/ports/audio/mp3splt/Makefile 2010-01-07 17:34:10.000000000 +0800 >+++ /usr/ports/sunpoet/mp3splt/Makefile 2010-03-14 02:53:53.000000000 +0800 >@@ -6,7 +6,7 @@ > # > > PORTNAME= mp3splt >-PORTVERSION= 2.2.7a >+PORTVERSION= 2.2.8 > CATEGORIES= audio > MASTER_SITES= SF > >diff -ruN --exclude=CVS /usr/ports/audio/mp3splt/distinfo /usr/ports/sunpoet/mp3splt/distinfo >--- /usr/ports/audio/mp3splt/distinfo 2010-01-07 17:34:10.000000000 +0800 >+++ /usr/ports/sunpoet/mp3splt/distinfo 2010-03-14 02:21:22.000000000 +0800 >@@ -1,3 +1,3 @@ >-MD5 (mp3splt-2.2.7a.tar.gz) = 7e782063ccb16f05a714be7d6f342cac >-SHA256 (mp3splt-2.2.7a.tar.gz) = a18705093d1766f9d2680fd71aac01b659af01472fbbc78dcb188f8328148725 >-SIZE (mp3splt-2.2.7a.tar.gz) = 216521 >+MD5 (mp3splt-2.2.8.tar.gz) = 2e6f53d6385912c7e8395813048cd28c >+SHA256 (mp3splt-2.2.8.tar.gz) = e5581d953fad596cb6fb22f220414e8aa69cb5324aa123a6b7b9b7a2142225d8 >+SIZE (mp3splt-2.2.8.tar.gz) = 218621 >diff -ruN --exclude=CVS /usr/ports/audio/mp3splt/files/patch-src-mp3splt.c /usr/ports/sunpoet/mp3splt/files/patch-src-mp3splt.c >--- /usr/ports/audio/mp3splt/files/patch-src-mp3splt.c 1970-01-01 08:00:00.000000000 +0800 >+++ /usr/ports/sunpoet/mp3splt/files/patch-src-mp3splt.c 2010-03-14 02:37:24.000000000 +0800 >@@ -0,0 +1,42 @@ >+--- src/mp3splt.c.orig 2010-02-18 04:23:39.000000000 +0800 >++++ src/mp3splt.c 2010-03-14 02:36:52.000000000 +0800 >+@@ -54,7 +54,11 @@ >+ #define MP3SPLT_CDDBFILE "query.cddb" >+ >+ #define MP3SPLT_GETTEXT_DOMAIN "mp3splt" >++#ifdef ENABLE_NLS >+ #define _(STR) gettext(STR) >++#else >++#define _(STR) STR >++#endif >+ >+ //in case of STDIN/STDOUT usage, we change the console file handle >+ //-yeah indeed, global variables might suck >+@@ -1801,9 +1805,11 @@ >+ //main program starts here >+ int main(int argc, char **orig_argv) >+ { >++#ifdef ENABLE_NLS >+ //gettext >+ setlocale(LC_ALL, ""); >+ textdomain(MP3SPLT_GETTEXT_DOMAIN); >++#endif >+ >+ console_out = stdout; >+ console_err = stderr; >+@@ -1814,6 +1820,7 @@ >+ >+ main_data *data = create_main_struct(argc, orig_argv); >+ >++#ifdef ENABLE_NLS >+ #ifdef __WIN32__ >+ char mp3splt_uninstall_file[2048] = { '\0' }; >+ DWORD dwType, dwSize = sizeof(mp3splt_uninstall_file) - 1; >+@@ -1873,6 +1880,7 @@ >+ #endif >+ >+ bind_textdomain_codeset(MP3SPLT_GETTEXT_DOMAIN, "UTF-8"); >++#endif >+ >+ data->state = mp3splt_new_state(&err); >+ process_confirmation_error(err, data);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 144719
: 104528 |
104529