1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/multimedia/mpeg_stat/files/patch-main.c
Lars Engels 2ddef3b2c4 - Fix build with clang
- Respect CFLAGS
2011-06-21 11:41:52 +00:00

20 lines
366 B
C

--- main.c.orig 1995-08-04 21:09:21.000000000 +0200
+++ main.c 2011-06-21 13:38:25.000000000 +0200
@@ -164,7 +164,7 @@
*--------------------------------------------------------------
*/
-void
+int
main(argc, argv)
int argc;
char **argv;
@@ -534,6 +534,7 @@
realTimeStart = ReadSysClock();
mpegVidRsrc(0, theStream);
+ return (0);
}