openbsd-ports/misc/gacc/patches/patch-src_gAcc_search_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
316 B
Plaintext

$OpenBSD: patch-src_gAcc_search_c,v 1.1 2008/11/19 23:29:13 sthen Exp $
--- src/gAcc_search.c.orig Wed Nov 19 23:13:39 2008
+++ src/gAcc_search.c Wed Nov 19 23:13:46 2008
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <gtk/gtk.h>
#include "structs.h"
#include "gAcc.h"