aboutsummaryrefslogtreecommitdiff
path: root/security/cops
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2013-09-18 08:20:02 +0000
committerCy Schubert <cy@FreeBSD.org>2013-09-18 08:20:02 +0000
commita1983dd5ba00bd780f7beca39dfd4b7028250baf (patch)
tree48d3e7de08a28767a7d513c6ac21921acd7f8231 /security/cops
parent5fff9d4bfc9249eedcbb59a7190032a2d02b8ba8 (diff)
downloadports-a1983dd5ba00bd780f7beca39dfd4b7028250baf.tar.gz
ports-a1983dd5ba00bd780f7beca39dfd4b7028250baf.zip
Notes
Diffstat (limited to 'security/cops')
-rw-r--r--security/cops/files/patch-src-crc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/cops/files/patch-src-crc.c b/security/cops/files/patch-src-crc.c
new file mode 100644
index 000000000000..73605f43c243
--- /dev/null
+++ b/security/cops/files/patch-src-crc.c
@@ -0,0 +1,11 @@
+--- src/crc.c.orig 1993-03-25 08:31:42.000000000 -0800
++++ src/crc.c 2013-09-18 00:52:27.281917756 -0700
+@@ -237,7 +237,7 @@
+ /* quietly ignore files we can't stat */
+
+ if (name != NULL && stat(name, &stat_buf) != 0)
+- return;
++ return 0;
+
+ /* don't do a crc on strange files */
+