opnsense-ports/devel/cvs-devel/files/patch-64bit_crashfix
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

15 lines
507 B
Text

# Fix a 64-bit crash in the entries_time() function and another bug in
# the diff code. Thanks to Gabor Gombas for the patch. Closes:
# #329127.
diff -Nur diff/util.c diff/util.c
--- diff/util.c 2003-02-03 03:52:38.000000000 +0800
+++ diff/util.c 2006-02-26 21:32:22.000000000 +0800
@@ -235,7 +235,7 @@
close (pipes[0]);
}
- execl (PR_PROGRAM, PR_PROGRAM, "-f", "-h", name, 0);
+ execl (PR_PROGRAM, PR_PROGRAM, "-f", "-h", name, NULL);
pfatal_with_name (PR_PROGRAM);
}
else