freebsd-ports/multimedia/mpeg_stat/files/patch-proto.h
Lars Engels 2ddef3b2c4 - Fix build with clang
- Respect CFLAGS
2011-06-21 11:41:52 +00:00

11 lines
399 B
C

--- proto.h.orig 2011-06-21 13:38:56.000000000 +0200
+++ proto.h 2011-06-21 13:37:22.000000000 +0200
@@ -87,7 +87,7 @@
#else
void int_handler P((int signum ));
#endif
-void main P((int argc , char **argv ));
+int main P((int argc , char **argv ));
void Usage P((void ));
void DoDitherImage P((unsigned char *l , unsigned char *Cr , unsigned char *Cb , unsigned char *disp , int h , int w ));