pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/mp3asm Rename log to avoid conflicting with the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d47dd18f2112
branches:  trunk
changeset: 607374:d47dd18f2112
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Aug 10 18:01:48 2012 +0000

description:
Rename log to avoid conflicting with the system function.

diffstat:

 audio/mp3asm/distinfo                   |  11 ++++++++---
 audio/mp3asm/patches/patch-aa           |  13 +++++++++++--
 audio/mp3asm/patches/patch-ab           |   8 +++++---
 audio/mp3asm/patches/patch-src_frame.c  |  13 +++++++++++++
 audio/mp3asm/patches/patch-src_mp3asm.c |  13 +++++++++++++
 audio/mp3asm/patches/patch-src_parse.c  |  13 +++++++++++++
 audio/mp3asm/patches/patch-src_stream.c |  13 +++++++++++++
 audio/mp3asm/patches/patch-src_tag.c    |  12 ++++++++++++
 8 files changed, 88 insertions(+), 8 deletions(-)

diffs (149 lines):

diff -r 4c449e1a6a57 -r d47dd18f2112 audio/mp3asm/distinfo
--- a/audio/mp3asm/distinfo     Fri Aug 10 18:00:14 2012 +0000
+++ b/audio/mp3asm/distinfo     Fri Aug 10 18:01:48 2012 +0000
@@ -1,7 +1,12 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 20:39:49 agc Exp $
+$NetBSD: distinfo,v 1.5 2012/08/10 18:01:48 joerg Exp $
 
 SHA1 (mp3asm-0.1.3-1.tar.bz2) = 78d70be0a05f4357175a094d39f88ef74e5ccbfc
 RMD160 (mp3asm-0.1.3-1.tar.bz2) = 6f3be47630afd324d4eacf01b71a1d50d541b44d
 Size (mp3asm-0.1.3-1.tar.bz2) = 46530 bytes
-SHA1 (patch-aa) = 3e4f9ca6f746b5664d77b2342dc9b787e601af83
-SHA1 (patch-ab) = f397eafdfe95040104ec33ea3065d22ba05af6cf
+SHA1 (patch-aa) = 98be6eddd5c8e1eb3843a3b8662bf3d7a1bdc71a
+SHA1 (patch-ab) = 6abc77e75341bb11cbc3ab7fc84d56daf74b5d4c
+SHA1 (patch-src_frame.c) = c7501595e148b65874befa24e72449a625cff707
+SHA1 (patch-src_mp3asm.c) = cf8ca39bc8304db00abf05f74da0e35f1c1ab62f
+SHA1 (patch-src_parse.c) = 575d9c22aa4180adb3075e05c79161ea6d1abf2a
+SHA1 (patch-src_stream.c) = 79fcc0a6b6cca51286de8e35c96b4960f27b22ff
+SHA1 (patch-src_tag.c) = 7d59259f4e6fb3f5a8e2053e92ee5db49547c68a
diff -r 4c449e1a6a57 -r d47dd18f2112 audio/mp3asm/patches/patch-aa
--- a/audio/mp3asm/patches/patch-aa     Fri Aug 10 18:00:14 2012 +0000
+++ b/audio/mp3asm/patches/patch-aa     Fri Aug 10 18:01:48 2012 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/04/28 16:51:05 zuntum Exp $
+$NetBSD: patch-aa,v 1.2 2012/08/10 18:01:48 joerg Exp $
 
---- src/mp3asm.h.orig  Tue Mar 20 09:45:48 2001
+--- src/mp3asm.h.orig  2001-03-20 01:45:48.000000000 +0000
 +++ src/mp3asm.h
 @@ -30,7 +30,6 @@
  #include <stdlib.h>
@@ -10,3 +10,12 @@
  #include <ctype.h>
  
  #define LOGBUFSIZE 4096
+@@ -46,7 +45,7 @@ extern int verbosity;
+ extern int quiet;
+ extern int info; /* if set to 1 -> print header info on all files and exit */
+ extern char *me; /* name of the executable */
+-extern logfile_t log; /* file to log to */
++extern logfile_t logfile; /* file to log to */
+ extern int inputs;
+ 
+ #endif /* HAVE_MP3ASM_H */
diff -r 4c449e1a6a57 -r d47dd18f2112 audio/mp3asm/patches/patch-ab
--- a/audio/mp3asm/patches/patch-ab     Fri Aug 10 18:00:14 2012 +0000
+++ b/audio/mp3asm/patches/patch-ab     Fri Aug 10 18:01:48 2012 +0000
@@ -1,12 +1,14 @@
-$NetBSD: patch-ab,v 1.1.1.1 2002/04/28 16:51:05 zuntum Exp $
+$NetBSD: patch-ab,v 1.2 2012/08/10 18:01:48 joerg Exp $
 
---- src/utils.c.orig   Sat Aug 18 04:44:09 2001
+--- src/utils.c.orig   2001-08-17 20:44:09.000000000 +0000
 +++ src/utils.c
-@@ -25,6 +25,7 @@
+@@ -25,6 +25,9 @@
  #include "utils.h"
  #include <unistd.h>
  #include <stdio.h>
 +#include <errno.h>
++
++#define log logfile
  
  /*
   * tmalloc: mallocs cleanly
diff -r 4c449e1a6a57 -r d47dd18f2112 audio/mp3asm/patches/patch-src_frame.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mp3asm/patches/patch-src_frame.c    Fri Aug 10 18:01:48 2012 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_frame.c,v 1.1 2012/08/10 18:01:48 joerg Exp $
+
+--- src/frame.c.orig   2012-08-10 13:07:17.000000000 +0000
++++ src/frame.c
+@@ -60,6 +60,8 @@ extern int print_data (unsigned char *da
+ /* tag.c */
+ extern int write_tag_v1 (stream_t *stream, FILE *file);
+ 
++#define log logfile
++
+ /*
+  * isheader: 
+  *
diff -r 4c449e1a6a57 -r d47dd18f2112 audio/mp3asm/patches/patch-src_mp3asm.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mp3asm/patches/patch-src_mp3asm.c   Fri Aug 10 18:01:48 2012 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_mp3asm.c,v 1.1 2012/08/10 18:01:48 joerg Exp $
+
+--- src/mp3asm.c.orig  2012-08-10 13:07:47.000000000 +0000
++++ src/mp3asm.c
+@@ -25,6 +25,8 @@
+ #include "parse.h"
+ #include "utils.h"
+ 
++#define log logfile
++
+ /* stream.c */
+ 
+ extern stream_t *read_stream (FILE *file);
diff -r 4c449e1a6a57 -r d47dd18f2112 audio/mp3asm/patches/patch-src_parse.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mp3asm/patches/patch-src_parse.c    Fri Aug 10 18:01:48 2012 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_parse.c,v 1.1 2012/08/10 18:01:48 joerg Exp $
+
+--- src/parse.c.orig   2012-08-10 13:06:54.000000000 +0000
++++ src/parse.c
+@@ -26,6 +26,8 @@
+ #include "parse.h"
+ #include "utils.h"
+ 
++#define log logfile
++
+ /* mp3asm.c */
+ extern void new_input (void);
+ 
diff -r 4c449e1a6a57 -r d47dd18f2112 audio/mp3asm/patches/patch-src_stream.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mp3asm/patches/patch-src_stream.c   Fri Aug 10 18:01:48 2012 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_stream.c,v 1.1 2012/08/10 18:01:48 joerg Exp $
+
+--- src/stream.c.orig  2012-08-10 13:07:34.000000000 +0000
++++ src/stream.c
+@@ -26,6 +26,8 @@
+ #include "stream.h"
+ #include "frame.h"
+ 
++#define log logfile
++
+ /* utils.c */
+ 
+ extern void *tmalloc (size_t size);
diff -r 4c449e1a6a57 -r d47dd18f2112 audio/mp3asm/patches/patch-src_tag.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mp3asm/patches/patch-src_tag.c      Fri Aug 10 18:01:48 2012 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_tag.c,v 1.1 2012/08/10 18:01:49 joerg Exp $
+
+--- src/tag.c.orig     2012-08-10 13:07:07.000000000 +0000
++++ src/tag.c
+@@ -25,6 +25,7 @@
+ #include "utils.h"
+ #include "frame.h"
+ 
++#define log logfile
+ 
+ /* utils.c */
+ extern void *tmalloc (size_t size);



Home | Main Index | Thread Index | Old Index