1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/graphics/urt/files/patch-tools::avg4.c
Marcelo Araujo 94e79576fb - Fix build with clang.
- Add MAKE_JOBS_SAFE.
- Trim header.
- Convert to optionsNG.

PR:		ports/172717
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-01-21 03:31:56 +00:00

16 lines
392 B
C

--- tools/avg4.c.orig 1992-04-30 23:08:43.000000000 +0900
+++ tools/avg4.c 2012-10-15 22:52:09.000000000 +0900
@@ -34,10 +34,10 @@
#include <stdio.h>
#include "rle.h"
-static bit_count[16] = {0, 63, 63, 127, 63, 127, 127,
+static int bit_count[16] = {0, 63, 63, 127, 63, 127, 127,
192, 63, 127, 127, 192, 127, 192, 192, 255};
-void
+int
main(argc, argv)
int argc;
char *argv[];