openbsd-ports/misc/gacc/patches/patch-src_operations_c
sthen 1fdbef6952 - include string.h header where string functions are used;
without it, operations returning a pointer will truncate to
32 bits on 64-bit arch causing runtime errors.

- regen PLIST, bump
2008-11-19 23:29:13 +00:00

12 lines
290 B
Plaintext

$OpenBSD: patch-src_operations_c,v 1.1 2008/11/19 23:29:13 sthen Exp $
--- src/operations.c.orig Wed Nov 19 23:08:01 2008
+++ src/operations.c Wed Nov 19 23:09:01 2008
@@ -23,6 +23,7 @@
*
*/
+#include <string.h>
#include "structs.h"
#include "operations.h"
#include "categories.h"