openbsd-ports/misc/brs/patches/patch-compresslib_c
naddy d7367484a6 Remove need for -fwritable-strings so this can be built with gcc4.
From a slightly newer "upstream" version that is floating around
on the net.

Add missing includes.
2010-08-04 14:05:46 +00:00

12 lines
461 B
Plaintext

$OpenBSD: patch-compresslib_c,v 1.1 2010/08/04 14:05:46 naddy Exp $
--- compresslib.c.orig Wed Aug 4 01:19:51 2010
+++ compresslib.c Wed Aug 4 01:20:17 2010
@@ -176,6 +176,7 @@ char_type magic_header[] = { "\037\235" }; /* 1F 9D */
static char rcs_ident[]="@(#)$Header: /home/cvs/ports/misc/brs/patches/Attic/patch-compresslib_c,v 1.1 2010/08/04 14:05:46 naddy Exp $";
#include <stdio.h>
+#include <string.h>
#include <ctype.h>
#include <sys/types.h>