Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Sep 2020 09:43:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 249075] x11/xclip: fix xclip-pastefile
Message-ID:  <bug-249075-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249075

            Bug ID: 249075
           Summary: x11/xclip: fix xclip-pastefile
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: bokutin@bokut.in

tar is used in the xclip-pastefile.
I get the following error:

    # xclip-pastefile
    tar: Error opening archive: Failed to open '/dev/sa0'

    It will be fixed below.
    --- xclip-pastefile.orig    2016-09-13 07:09:12 UTC
    +++ xclip-pastefile
    @@ -4,4 +4,4 @@ if [ "x$1" !=3D "x" ]; then
        echo "Usage: $0" >&2
        exit 1
    fi
    -xclip -selection secondary -o | gunzip -c | tar xv
    +xclip -selection secondary -o | gunzip -c | tar xv -f -

According to the Makefile style, is the below suitable?

    --- Makefile.orig   2020-09-03 18:40:55.121010000 +0900
    +++ Makefile        2020-09-03 18:35:11.439860000 +0900
    @@ -27,6 +27,7 @@

    post-patch:
            ${REINPLACE_CMD} 's,mktemp,mktemp -t xclip,'
${WRKSRC}/xclip-copyfile
    +   ${REINPLACE_CMD} 's,tar xv,tar xv -f -,' ${WRKSRC}/xclip-pastefile

    post-install:
            ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xclip

thanks.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249075-7788>