ports/171023: [patch] x11/xclip: fix xclip-copyfile

Vitaly Magerya vmagerya at gmail.com
Sat Aug 25 12:20:02 UTC 2012


>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 <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list