From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 25 12:20:02 2012 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 B8803106566B for ; Sat, 25 Aug 2012 12:20:02 +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 7242F8FC12 for ; Sat, 25 Aug 2012 12:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7PCK2pP000292 for ; Sat, 25 Aug 2012 12:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7PCK2l9000284; Sat, 25 Aug 2012 12:20:02 GMT (envelope-from gnats) Resent-Date: Sat, 25 Aug 2012 12:20:02 GMT Resent-Message-Id: <201208251220.q7PCK2l9000284@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, Vitaly Magerya Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 034B9106566C for ; Sat, 25 Aug 2012 12:12:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id E3AAF8FC12 for ; Sat, 25 Aug 2012 12:12:10 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7PCCAXL021094 for ; Sat, 25 Aug 2012 12:12:10 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q7PCCAe6021093; Sat, 25 Aug 2012 12:12:10 GMT (envelope-from nobody) Message-Id: <201208251212.q7PCCAe6021093@red.freebsd.org> Date: Sat, 25 Aug 2012 12:12:10 GMT From: Vitaly Magerya To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/171023: [patch] x11/xclip: fix xclip-copyfile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2012 12:20:02 -0000 >Number: 171023 >Category: ports >Synopsis: [patch] x11/xclip: fix xclip-copyfile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 25 12:20:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Vitaly Magerya >Release: >Organization: >Environment: >Description: xclip-copyfile(1) executable that x11/xclip installs tries to invoke mktemp(1) without arguments, which does not work with FreeBSD implementation of mktemp. The attached patch fixes this problem by using -t option. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN xclip.orig/Makefile xclip/Makefile --- xclip.orig/Makefile 2011-08-21 23:51:39.000000000 +0300 +++ xclip/Makefile 2012-08-25 15:00:26.000000000 +0300 @@ -26,4 +26,8 @@ pre-configure: @cd ${WRKSRC}; ./bootstrap +post-patch: + ${REINPLACE_CMD} 's,`mktemp`,`mktemp -t xclip`,' \ + ${WRKSRC}/xclip-copyfile + .include >Release-Note: >Audit-Trail: >Unformatted: