aboutsummaryrefslogtreecommitdiffstats
path: root/security/skipfish
diff options
context:
space:
mode:
authorniels <niels@FreeBSD.org>2010-04-04 03:10:20 +0800
committerniels <niels@FreeBSD.org>2010-04-04 03:10:20 +0800
commitd188e78d7a6cc7704362bd995dcf4a205fe25d21 (patch)
tree107e78118e0596ef75051bfdfeccc1aa6c71d737 /security/skipfish
parent414bb89aaa71d521e968cfe20c4399def289c984 (diff)
downloadfreebsd-ports-graphics-d188e78d7a6cc7704362bd995dcf4a205fe25d21.tar.gz
freebsd-ports-graphics-d188e78d7a6cc7704362bd995dcf4a205fe25d21.tar.zst
freebsd-ports-graphics-d188e78d7a6cc7704362bd995dcf4a205fe25d21.zip
Build warning fixes, forgotten in previous commit:
- Upgrade to version 1.29b Approved by: itetcu (mentor) Approved by: Ryan Steinmetz (maintainer)
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 00000000000..5d1305bdc72
--- /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 00000000000..9aa4278589a
--- /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);
+ }
+
+