pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43079: graphics/xv can't be patched with gnutar



>Number:         43079
>Category:       pkg
>Synopsis:       graphics/xv can't be patched with gnutar
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 30 04:35:00 +0000 2010
>Originator:     Stefan
>Release:        
>Organization:
>Environment:
Linux vaio 2.6.29.6 #2 Mon Dec 7 17:31:46 CST 2009 i686 Intel(R) Pentium(R) 4 
CPU 2.80GHz GenuineIntel GNU/Linux

>Description:
Makefile in graphics/xv from pkgsrc-2009Q4 does not extract patches on Linux


# bmake patch
:
:

=> Applying distribution patches for xv-3.10anb14
/bin/tar: Pattern matching characters used in file names. Please,
/bin/tar: use --wildcards to enable pattern matching, or --no-wildcards to
/bin/tar: suppress this warning.
/bin/tar: *-patch-*: Not found in archive
/bin/tar: Exiting with failure status due to previous errors
=> Applying pkgsrc patches for xv-3.10anb14
1 out of 1 hunk FAILED -- saving rejects to file vdcomp.c.rej
Patch /usr/pkgsrc/graphics/xv/patches/patch-ab failed
1 out of 1 hunk FAILED -- saving rejects to file config.h.rej
Patch /usr/pkgsrc/graphics/xv/patches/patch-ac failed
1 out of 4 hunks FAILED -- saving rejects to file Imakefile.rej
Patch /usr/pkgsrc/graphics/xv/patches/patch-ad failed
4 out of 4 hunks FAILED -- saving rejects to file xv.h.rej
Patch /usr/pkgsrc/graphics/xv/patches/patch-af failed
ERROR: Patching failed due to modified or broken patch file(s):
ERROR:  /usr/pkgsrc/graphics/xv/patches/patch-ab
ERROR:  /usr/pkgsrc/graphics/xv/patches/patch-ac
ERROR:  /usr/pkgsrc/graphics/xv/patches/patch-ad
ERROR:  /usr/pkgsrc/graphics/xv/patches/patch-af

Linux comes with gnutar in /bin/tar. For gnutar, option --wildcards must be 
added in Makefile

--- snip ----------------------------------------------------------------------
PATCH_DIST_CAT=         ${GZCAT} $$patchfile | ${TAR} --wildcards  -Oxf - 
"*-patch-*"
--- snip ----------------------------------------------------------------------

This option does not work with bsdtar, though.


Alternatively, make a dependency on bsdtar (archive/bsdtar)?
>How-To-Repeat:
bmake patch
>Fix:



Home | Main Index | Thread Index | Old Index