diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-01-31 08:46:59 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-01-31 08:46:59 +0000 |
commit | 94530ad4000f0366fd9c66a430302860787c0131 (patch) | |
tree | 5baceec7c91eaa597bc12c2a38ecb904366c968e | |
parent | 057a0425ca99ff8996d6903c825a4f706021b7b6 (diff) | |
download | ports-94530ad4000f0366fd9c66a430302860787c0131.tar.gz ports-94530ad4000f0366fd9c66a430302860787c0131.zip |
Notes
-rw-r--r-- | games/qcc/files/patch-qcc.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/games/qcc/files/patch-qcc.c b/games/qcc/files/patch-qcc.c new file mode 100644 index 000000000000..d4144f47b529 --- /dev/null +++ b/games/qcc/files/patch-qcc.c @@ -0,0 +1,27 @@ +--- qcc.c.orig 2012-01-31 16:40:51.000000000 +0800 ++++ qcc.c 2012-01-31 16:41:46.000000000 +0800 +@@ -1025,7 +1025,7 @@ + main + ============ + */ +-void main (int argc, char **argv) ++int main (int argc, char **argv) + { + char *src; + char *src2; +@@ -1043,7 +1043,7 @@ + printf ("to build a clean data tree: qcc -copy <srcdir> <destdir>\n"); + printf ("to build a clean pak file: qcc -pak <srcdir> <packfile>\n"); + printf ("to bsp all bmodels: qcc -bspmodels <gamedir>\n"); +- return; ++ return EXIT_SUCCESS; + } + + p = CheckParm ("-src"); +@@ -1112,4 +1112,6 @@ + + // report / copy the data files + CopyFiles (); ++ ++ return EXIT_SUCCESS; + } |