opnsense-ports/security/skipfish/files/patch-report.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
336 B
C

--- ./src/report.c.orig 2012-09-24 11:55:23.000000000 -0400
+++ ./src/report.c 2012-09-24 11:55:32.000000000 -0400
@@ -799,7 +799,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);
}