Date: Sat, 20 Jul 2013 18:27:35 +0100 (BST) From: Anton Shterenlikht <mexas@bris.ac.uk> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/180681: [patch] textproc/urlview fix compiler warnings Message-ID: <201307201727.r6KHRZb3009206@mech-cluster241.men.bris.ac.uk> Resent-Message-ID: <201307201730.r6KHU0tG091170@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <rx/rxposix.h> #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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307201727.r6KHRZb3009206>