summaryrefslogtreecommitdiff
path: root/security/skipfish
diff options
context:
space:
mode:
authorNiels Heinen <niels@FreeBSD.org>2010-04-03 19:10:20 +0000
committerNiels Heinen <niels@FreeBSD.org>2010-04-03 19:10:20 +0000
commit3938a1928f1252cfdac10b4c911f517fe46348df (patch)
tree5a2669b515c317f6c288a61168e44a5790cb5799 /security/skipfish
parentUpdate to 0.9.7 (diff)
Build warning fixes, forgotten in previous commit:
- Upgrade to version 1.29b Approved by: itetcu (mentor) Approved by: Ryan Steinmetz (maintainer)
Notes
Notes: svn path=/head/; revision=252155
Diffstat (limited to 'security/skipfish')
-rw-r--r--security/skipfish/files/patch-ab11
-rw-r--r--security/skipfish/files/patch-ac11
2 files changed, 22 insertions, 0 deletions
diff --git a/security/skipfish/files/patch-ab b/security/skipfish/files/patch-ab
new file mode 100644
index 000000000000..5d1305bdc724
--- /dev/null
+++ b/security/skipfish/files/patch-ab
@@ -0,0 +1,11 @@
+--- analysis.c.orig 2010-03-25 20:26:41.000000000 +0100
++++ analysis.c 2010-03-25 01:47:35.000000000 +0100
+@@ -394,7 +394,7 @@
+ static u8 tm_prefix[8];
+
+ if (!tm_prefix[0])
+- sprintf((char*)tm_prefix, "%lu", time(0) / 100000);
++ sprintf((char*)tm_prefix, "%lu",(long unsigned int) (time(0) / 100000));
+
+ /* Unix time is not a valid token. */
+
diff --git a/security/skipfish/files/patch-ac b/security/skipfish/files/patch-ac
new file mode 100644
index 000000000000..9aa4278589ab
--- /dev/null
+++ b/security/skipfish/files/patch-ac
@@ -0,0 +1,11 @@
+--- report.c.orig 2010-04-03 19:23:47.000000000 +0200
++++ report.c 2010-04-03 19:40:28.000000000 +0200
+@@ -741,7 +741,7 @@
+ static void copy_static_code(u8* out_dir) {
+ struct dirent** d;
+ ca_out_dir = out_dir;
+- scandir(ASSETS_DIR, &d, copy_asset, NULL);
++ scandir(ASSETS_DIR, &d, (int(*)())copy_asset, NULL);
+ }
+
+