[packages/mpg123] - updated to 1.14.4 - updated no-la patch

qboosh qboosh at pld-linux.org
Sun Oct 28 12:19:59 CET 2012


commit b6b9017abc3035d230ddd3fe53e9ce9411476938
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 28 12:20:39 2012 +0100

    - updated to 1.14.4
    - updated no-la patch

 mpg123-no-la.patch | 14 ++++++++------
 mpg123.spec        |  4 ++--
 2 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/mpg123.spec b/mpg123.spec
index ae06337..657f8f9 100644
--- a/mpg123.spec
+++ b/mpg123.spec
@@ -21,13 +21,13 @@ Summary(pt_BR.UTF-8):	Tocador de arquivos MP3
 Summary(ru.UTF-8):	Проигрыватель MPEG аудиофайлов
 Summary(uk.UTF-8):	Програвач MPEG аудіофайлів
 Name:		mpg123
-Version:	1.13.4
+Version:	1.14.4
 Release:	1
 # some old parts are GPLed, but they are not included in package
 License:	LGPL v2.1
 Group:		Applications/Sound
 Source0:	http://downloads.sourceforge.net/mpg123/%{name}-%{version}.tar.bz2
-# Source0-md5:	073620b3938c4cb9c4f70e8fe3e114b8
+# Source0-md5:	a72d0c60a1d7dbec7cfe966bc11672bf
 Patch0:		%{name}-am.patch
 Patch1:		%{name}-no-la.patch
 URL:		http://www.mpg123.de/
diff --git a/mpg123-no-la.patch b/mpg123-no-la.patch
index 7ebe0c7..5760f5d 100644
--- a/mpg123-no-la.patch
+++ b/mpg123-no-la.patch
@@ -1,6 +1,6 @@
---- mpg123-1.12.3/src/module.c.orig	2010-07-05 00:03:03.000000000 +0200
-+++ mpg123-1.12.3/src/module.c	2010-08-12 16:06:12.000000000 +0200
-@@ -102,14 +102,11 @@
+--- mpg123-1.14.4/src/module.c.orig	2012-07-26 15:36:44.000000000 +0200
++++ mpg123-1.14.4/src/module.c	2012-10-28 12:11:45.381479443 +0100
+@@ -101,16 +101,12 @@
  	size_t module_path_len = 0;
  	char* module_symbol = NULL;
  	size_t module_symbol_len = 0;
@@ -12,12 +12,14 @@
 +	if(moddir == NULL)
  	{
 -		error("Failure getting workdir or moddir!");
--		if(workdir != NULL) free(workdir);
+-		if(workdir == NULL) fprintf(stderr, "Hint: I need to know the current working directory to be able to come back after hunting modules. I will not leave because I do not know where I am.\n");
 +		error("Failure getting moddir!");
+ 
+-		if(workdir != NULL) free(workdir);
  		if(moddir  != NULL) free(moddir);
  		return NULL;
  	}
-@@ -117,20 +114,15 @@
+@@ -118,20 +114,15 @@
  	/* Initialize libltdl */
  	if (lt_dlinit()) error( "Failed to initialise libltdl" );
  
@@ -40,7 +42,7 @@
  	/* Display the path of the module created */
  	if(param.verbose > 1) fprintf(stderr, "Module path: %s\n", module_path );
  
-@@ -179,9 +171,7 @@
+@@ -180,9 +171,7 @@
  om_bad:
  	module = NULL;
  om_end:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mpg123.git/commitdiff/b6b9017abc3035d230ddd3fe53e9ce9411476938



More information about the pld-cvs-commit mailing list