From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 17 00:20:09 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA0621065670 for ; Tue, 17 May 2011 00:20:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9F53E8FC1A for ; Tue, 17 May 2011 00:20:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4H0K9sf097609 for ; Tue, 17 May 2011 00:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4H0K9Ra097608; Tue, 17 May 2011 00:20:09 GMT (envelope-from gnats) Date: Tue, 17 May 2011 00:20:09 GMT Message-Id: <201105170020.p4H0K9Ra097608@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Zhihao Yuan Cc: Subject: Re: ports/157095: graphics/mupdf: optional scroll hack X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Zhihao Yuan List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2011 00:20:09 -0000 The following reply was made to PR ports/157095; it has been noted by GNATS. From: Zhihao Yuan To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/157095: graphics/mupdf: optional scroll hack Date: Mon, 16 May 2011 19:14:58 -0500 --00504502c64a97571f04a36da928 Content-Type: text/plain; charset=UTF-8 This updated patch adds the same function to mouse wheel. -- Zhihao Yuan The best way to predict the future is to invent it. --00504502c64a97571f04a36da928 Content-Type: application/octet-stream; name="mupdf_1-scroll_hack.patch" Content-Disposition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