pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/qvplay Fix inline usage. Add missing return v...
details: https://anonhg.NetBSD.org/pkgsrc/rev/77c0c6edde85
branches: trunk
changeset: 610647:77c0c6edde85
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Nov 01 19:50:59 2012 +0000
description:
Fix inline usage. Add missing return values.
diffstat:
graphics/qvplay/distinfo | 4 ++-
graphics/qvplay/patches/patch-command.c | 40 +++++++++++++++++++++++++++++++++
graphics/qvplay/patches/patch-qvrec.c | 34 ++++++++++++++++++++++++++++
3 files changed, 77 insertions(+), 1 deletions(-)
diffs (95 lines):
diff -r 2d888d2446c2 -r 77c0c6edde85 graphics/qvplay/distinfo
--- a/graphics/qvplay/distinfo Thu Nov 01 19:49:32 2012 +0000
+++ b/graphics/qvplay/distinfo Thu Nov 01 19:50:59 2012 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.4 2010/02/03 22:24:06 joerg Exp $
+$NetBSD: distinfo,v 1.5 2012/11/01 19:50:59 joerg Exp $
SHA1 (qvplay-0.94.tar.gz) = ecc48babf604f802833de16eb404186820c93edc
RMD160 (qvplay-0.94.tar.gz) = 2f84c15541913736ea53c089ae409c60c6dfdae2
Size (qvplay-0.94.tar.gz) = 110612 bytes
SHA1 (patch-aa) = 7e7c81c9253095b8b01fe0b083c4f0ae62c9da0e
+SHA1 (patch-command.c) = 33a957ed06c20d815ba34a1dc0b4469f0076ac45
+SHA1 (patch-qvrec.c) = 7afa5a31c1a9a107c205d7ea58fdcd8740f24478
diff -r 2d888d2446c2 -r 77c0c6edde85 graphics/qvplay/patches/patch-command.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/qvplay/patches/patch-command.c Thu Nov 01 19:50:59 2012 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-command.c,v 1.1 2012/11/01 19:50:59 joerg Exp $
+
+--- command.c.orig 2012-10-30 22:18:05.000000000 +0000
++++ command.c
+@@ -89,7 +89,7 @@ calcsum(p, len)
+ return(sum);
+ }
+
+-inline void
++void
+ wbyte(c)
+ u_char c;
+ {
+@@ -104,7 +104,7 @@ wbyte(c)
+ check_sum = check_sum + (int) c;
+ }
+
+-inline u_char
++u_char
+ rbyte()
+ {
+ u_char c;
+@@ -133,7 +133,7 @@ int checksum(u_char u)
+ return(1);
+ }
+
+-inline void
++void
+ wstr(p, len)
+ u_char *p;
+ int len;
+@@ -149,7 +149,7 @@ wstr(p, len)
+ check_sum = check_sum + calcsum(p, len);
+ }
+
+-inline void
++void
+ rstr(p, len)
+ u_char *p;
+ int len;
diff -r 2d888d2446c2 -r 77c0c6edde85 graphics/qvplay/patches/patch-qvrec.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/qvplay/patches/patch-qvrec.c Thu Nov 01 19:50:59 2012 +0000
@@ -0,0 +1,34 @@
+$NetBSD: patch-qvrec.c,v 1.1 2012/11/01 19:50:59 joerg Exp $
+
+--- qvrec.c.orig 2012-10-30 22:18:26.000000000 +0000
++++ qvrec.c
+@@ -617,12 +617,12 @@ main(argc, argv)
+ if(QVremain(1) < 0){
+ fprintf(stderr, "picture full.\n");
+ errflg ++;
+- return;
++ return 1;
+ }
+ if(QVremain(0) < 0){
+ fprintf(stderr, "picture full.\n");
+ errflg ++;
+- return;
++ return 1;
+ }
+ } else {
+ if(all_pic_num >= MAX_PICTURE_NUM_QV10) {
+@@ -659,12 +659,12 @@ main(argc, argv)
+ if(QVremain(1) < 0){
+ fprintf(stderr, "picture full.\n");
+ errflg ++;
+- return;
++ return 1;
+ }
+ if(QVremain(0) < 0){
+ fprintf(stderr, "picture full.\n");
+ errflg ++;
+- return;
++ return 1;
+ }
+ } else {
+ if(all_pic_num >= MAX_PICTURE_NUM_QV10) {
Home |
Main Index |
Thread Index |
Old Index