From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 20 17:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C9E026B2 for ; Sat, 20 Jul 2013 17:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A577DC87 for ; Sat, 20 Jul 2013 17:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6KHU0st091171 for ; Sat, 20 Jul 2013 17:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6KHU0tG091170; Sat, 20 Jul 2013 17:30:00 GMT (envelope-from gnats) Resent-Date: Sat, 20 Jul 2013 17:30:00 GMT Resent-Message-Id: <201307201730.r6KHU0tG091170@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anton Shterenlikht Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B9F556A5 for ; Sat, 20 Jul 2013 17:28:13 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog106.obsmtp.com (eu1sys200aog106.obsmtp.com [207.126.144.121]) by mx1.freebsd.org (Postfix) with ESMTP id 17633C7E for ; Sat, 20 Jul 2013 17:28:12 +0000 (UTC) Received: from mail-we0-f180.google.com ([74.125.82.180]) (using TLSv1) by eu1sys200aob106.postini.com ([207.126.147.11]) with SMTP ID DSNKUerIiyULtt51z3C9F6FtnP2Zzx3caexb@postini.com; Sat, 20 Jul 2013 17:28:13 UTC Received: by mail-we0-f180.google.com with SMTP id p59so880840wes.25 for ; Sat, 20 Jul 2013 10:27:39 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id z6sm30024365wiv.11.2013.07.20.10.27.37 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 20 Jul 2013 10:27:38 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r6KHRaH4009207 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 20 Jul 2013 18:27:36 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r6KHRZb3009206; Sat, 20 Jul 2013 18:27:35 +0100 (BST) (envelope-from mexas) Message-Id: <201307201727.r6KHRZb3009206@mech-cluster241.men.bris.ac.uk> Date: Sat, 20 Jul 2013 18:27:35 +0100 (BST) From: Anton Shterenlikht Sender: Anton Shterenlikht To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/180681: [patch] textproc/urlview fix compiler warnings X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Anton Shterenlikht List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 17:30:02 -0000 >Number: 180681 >Category: ports >Synopsis: [patch] textproc/urlview fix compiler warnings >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Jul 20 17:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Anton Shterenlikht >Release: FreeBSD 10.0-CURRENT ia64 >Organization: University of Bristol >Environment: System: FreeBSD mech-cluster241.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #5 r252055: Fri Jun 21 15:57:18 BST 2013 root@mech-cluster241.men.bris.ac.uk:/usr/obj/usr/src/sys/TZAV ia64 >Description: This patch must be used *instead of* the current files/patch-urlview.c Tested on redports >How-To-Repeat: >Fix: --- patch-urlview.c begins here --- --- urlview.c.orig 2013-07-19 22:44:59.000000000 +0100 +++ urlview.c 2013-07-19 22:45:22.000000000 +0100 @@ -46,6 +46,8 @@ #include #endif +#include "quote.h" + #define DEFAULT_REGEXP "(((https?|ftp|gopher)://|(mailto|file|news):)[^' \t<>\"]+|(www|web|w3)\\.[-a-z0-9.]+)[^' \t.,;<>\"\\):]" #define DEFAULT_COMMAND "firefox %s" #define SYSTEM_INITFILE "/usr/local/etc/urlview.conf" @@ -61,7 +63,7 @@ MOTION }; -extern int mutt_enter_string (unsigned char *buf, size_t buflen, int y, int x, +extern int mutt_enter_string (char *buf, size_t buflen, int y, int x, int flags); void search_forward (char *search, int urlcount, char **url, int *redraw, int *current, int *top) --- patch-urlview.c ends here --- >Release-Note: >Audit-Trail: >Unformatted: