pkgsrc-Changes archive

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

CVS commit: pkgsrc/multimedia/ming



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri Nov 23 12:13:19 UTC 2018

Modified Files:
        pkgsrc/multimedia/ming: distinfo
Added Files:
        pkgsrc/multimedia/ming/patches: patch-util_parser.c

Log Message:
ming: INT_MAX and MAX() compat.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/multimedia/ming/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/ming/patches/patch-util_parser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/ming/distinfo
diff -u pkgsrc/multimedia/ming/distinfo:1.18 pkgsrc/multimedia/ming/distinfo:1.19
--- pkgsrc/multimedia/ming/distinfo:1.18        Tue Nov 13 10:18:26 2018
+++ pkgsrc/multimedia/ming/distinfo     Fri Nov 23 12:13:19 2018
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.18 2018/11/13 10:18:26 markd Exp $
+$NetBSD: distinfo,v 1.19 2018/11/23 12:13:19 jperkin Exp $
 
 SHA1 (ming-0_4_8.tar.gz) = ef94923ea4f71fca0950c4a9ff1eb33e1712c17b
 RMD160 (ming-0_4_8.tar.gz) = 4110608567c768bb67338c4bd3967322e63c32d4
 SHA512 (ming-0_4_8.tar.gz) = e395acde9119ad32f4cedd500bcceee70bdd563222a41dda899cc318d5e34eb580abc38ac39c6dec7821913a0a70d2f953fc81f52255b623e34f7c3aaafbc9c0
 Size (ming-0_4_8.tar.gz) = 14908459 bytes
 SHA1 (patch-configure.in) = 9c231dc2e06d12e05b8e82d48f1df2aed33de697
+SHA1 (patch-util_parser.c) = f41454623af76bc893d3040513dcd900f5b76a32

Added files:

Index: pkgsrc/multimedia/ming/patches/patch-util_parser.c
diff -u /dev/null pkgsrc/multimedia/ming/patches/patch-util_parser.c:1.1
--- /dev/null   Fri Nov 23 12:13:19 2018
+++ pkgsrc/multimedia/ming/patches/patch-util_parser.c  Fri Nov 23 12:13:19 2018
@@ -0,0 +1,25 @@
+$NetBSD: patch-util_parser.c,v 1.1 2018/11/23 12:13:19 jperkin Exp $
+
+Need limits.h for INT_MAX and provide MAX compat macro.
+
+--- util/parser.c.orig 2017-04-07 08:12:56.000000000 +0000
++++ util/parser.c
+@@ -18,6 +18,7 @@
+  *
+  ****************************************************************************/
+ 
++#include <limits.h>
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -51,6 +52,10 @@ void silentSkipBytes(FILE *f, int length
+       printf("skipping %i bytes\n", length); \
+         readBytes(f, length);
+ 
++#ifndef MAX
++#define MAX(a, b) ((a > b) ? a : b)
++#endif
++
+ /* Parse Basic Flash types */
+ 
+ void



Home | Main Index | Thread Index | Old Index