summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2011-12-22 00:59:55 +0000
committervanilla <vanilla@FreeBSD.org>2011-12-22 00:59:55 +0000
commit77780a50ef417394675e8e3ba517b75bf1a6e16f (patch)
tree6ee07ca53e9f9695c227a656815826124b50308a
parentbf9e914fca29b05f267d661a523d03c97c9feaa6 (diff)
downloadFreeBSD-ports-77780a50ef417394675e8e3ba517b75bf1a6e16f.zip
FreeBSD-ports-77780a50ef417394675e8e3ba517b75bf1a6e16f.tar.gz
Fix clang issue.
-rw-r--r--archivers/mscompress/files/patch-mscompress.c11
-rw-r--r--archivers/mscompress/files/patch-msexpand.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/archivers/mscompress/files/patch-mscompress.c b/archivers/mscompress/files/patch-mscompress.c
new file mode 100644
index 0000000..5184992
--- /dev/null
+++ b/archivers/mscompress/files/patch-mscompress.c
@@ -0,0 +1,11 @@
+--- mscompress.c.orig 2011-12-22 00:20:22.000000000 +0800
++++ mscompress.c 2011-12-22 00:20:29.000000000 +0800
+@@ -306,7 +306,7 @@ usage (char *progname)
+ exit (0);
+ }
+
+-void
++int
+ main (int argc, char **argv)
+ {
+ int in, out;
diff --git a/archivers/mscompress/files/patch-msexpand.c b/archivers/mscompress/files/patch-msexpand.c
new file mode 100644
index 0000000..fe4eb61
--- /dev/null
+++ b/archivers/mscompress/files/patch-msexpand.c
@@ -0,0 +1,11 @@
+--- msexpand.c.orig 2011-12-22 00:20:38.000000000 +0800
++++ msexpand.c 2011-12-22 00:20:44.000000000 +0800
+@@ -215,7 +215,7 @@ usage (char *progname)
+ exit (0);
+ }
+
+-void
++int
+ main (int argc, char **argv)
+ {
+ int in, out;
OpenPOWER on IntegriCloud