Received: with LISTAR (v1.0.0; list gopher); Sat, 26 Jan 2002 06:39:11 -0500 (EST) Return-Path: Delivered-To: gopher@complete.org Received: from obsecurity.dyndns.org (adsl-63-207-60-131.dsl.lsan03.pacbell.net [63.207.60.131]) by pi.glockenspiel.complete.org (Postfix) with ESMTP id A05F53B811 for ; Sat, 26 Jan 2002 06:39:09 -0500 (EST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7F79066C11; Sat, 26 Jan 2002 03:38:48 -0800 (PST) Date: Sat, 26 Jan 2002 03:38:47 -0800 From: Kris Kennaway To: gopher@complete.org Subject: [gopher] gopher patches for FreeBSD Message-ID: <20020126033846.A97918@xor.obsecurity.org> Mime-Version: 1.0 Content-type: text/plain Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Content-Transfer-Encoding: 8bit X-archive-position: 396 X-listar-version: Listar v1.0.0 Sender: gopher-bounce@complete.org Errors-to: gopher-bounce@complete.org X-original-sender: kris@obsecurity.org Precedence: bulk Reply-to: gopher@complete.org List-help: List-unsubscribe: List-software: Listar version 1.0.0 X-List-ID: Gopher List-subscribe: List-owner: List-post: List-archive: X-list: gopher Hi there, I had to apply the following patches to make gopher 3.0.2 compile on FreeBSD. Kris find . -name '*.[ch]' | xargs perl -pi -e 's,,,' --- ./object/util.h.orig Fri Aug 18 17:28:56 2000 +++ ./object/util.h Sat Jan 26 02:16:25 2002 @@ -57,7 +57,6 @@ void Fromhexstr(char * , char *); void Tohexstr(char *input, char *output); void Hexall(char *input, char *output); -char *strcasestr(char *inputline, char *match); char *skip_whitespace(char *); /* --- ./object/util.c.orig Tue Dec 19 17:19:20 2000 +++ ./object/util.c Sat Jan 26 02:16:51 2002 @@ -584,28 +584,6 @@ /* - * String insensitive strstr - */ - -char * -strcasestr(char *inputline, char *match) -{ - int matchlen=0; - int i, inlen; - - matchlen = strlen(match); - inlen = strlen(inputline); - - for(i=0; i