I placed the patches in /etc/portage/patches/x11-wm/dwm
Had to rename them from .diff to .patch as the wiki describes
Code: Select all
dwm-6.2-taggrid.patch dwm-cyclelayouts-20180524-6.2.patch dwm-rotatestack-20161021-ab9571b.patch
dwm-activetagindicatorbar-6.2.patch dwm-fancybar-6.2.patch dwm-statuspadding-20150524-c8e9479.patch
dwm-alpha-20180613-b69c870.patch dwm-gridmode-5.8.2.patch
dwm-attachaside-20180126-db22360.patch dwm-restartsig-20180523-6.2.patch Code: Select all
[ebuild N ] x11-wm/dwm-6.2
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) x11-wm/dwm-6.2::gentoo
>>> Failed to emerge x11-wm/dwm-6.2, Log file:
>>> '/var/tmp/portage/x11-wm/dwm-6.2/temp/build.log'
* Package: x11-wm/dwm-6.2
* Repository: gentoo
* Maintainer: desktop-misc@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Applying dwm-6.2-taggrid.patch ...
[ ok ]
* Applying dwm-activetagindicatorbar-6.2.patch ...
patching file dwm.c
Hunk #1 succeeded at 734 with fuzz 1 (offset 15 lines).
[ ok ]
* Applying dwm-alpha-20180613-b69c870.patch ...
[ ok ]
* Applying dwm-attachaside-20180126-db22360.patch ...
[ ok ]
* Applying dwm-cyclelayouts-20180524-6.2.patch ...
[ ok ]
* Applying dwm-fancybar-6.2.patch ...
[ ok ]
* Applying dwm-gridmode-5.8.2.patch ...
[ ok ]
* Applying dwm-restartsig-20180523-6.2.patch ...
patching file config.def.h
Hunk #1 FAILED at 94.
1 out of 1 hunk FAILED -- saving rejects to file config.def.h.rej
patching file dwm.1
Hunk #1 succeeded at 148 (offset 6 lines).
Hunk #2 succeeded at 164 (offset 6 lines).
patching file dwm.c
Hunk #1 succeeded at 212 with fuzz 2 (offset 7 lines).
Hunk #2 succeeded at 271 (offset 9 lines).
Hunk #3 succeeded at 1389 (offset 138 lines).
Hunk #4 succeeded at 1678 (offset 138 lines).
Hunk #5 succeeded at 1858 (offset 214 lines).
Hunk #6 succeeded at 2418 with fuzz 1 (offset 258 lines).
[ !! ]
* ERROR: x11-wm/dwm-6.2::gentoo failed (prepare phase):
* patch -p1 failed with /etc/portage/patches/x11-wm/dwm/dwm-restartsig-20180523-6.2.patch
*
* Call stack:
* ebuild.sh, line 125: Called src_prepare
* environment, line 1259: Called default
* phase-functions.sh, line 855: Called default_src_prepare
* phase-functions.sh, line 920: Called __eapi6_src_prepare
* environment, line 192: Called eapply_user
* environment, line 488: Called eapply '/etc/portage/patches/x11-wm/dwm/dwm-restartsig-20180523-6.2.patch'
* environment, line 458: Called _eapply_patch '/etc/portage/patches/x11-wm/dwm/dwm-restartsig-20180523-6.2.patch'
* environment, line 396: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/x11-wm/dwm/dwm-restartsig-20180523-6.2.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=x11-wm/dwm-6.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-wm/dwm-6.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-wm/dwm-6.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-wm/dwm-6.2/temp/environment'.
* Working directory: '/var/tmp/portage/x11-wm/dwm-6.2/work/dwm-6.2'
* S: '/var/tmp/portage/x11-wm/dwm-6.2/work/dwm-6.2'
* Messages for package x11-wm/dwm-6.2:
* ERROR: x11-wm/dwm-6.2::gentoo failed (prepare phase):
* patch -p1 failed with /etc/portage/patches/x11-wm/dwm/dwm-restartsig-20180523-6.2.patch
*
* Call stack:
* ebuild.sh, line 125: Called src_prepare
* environment, line 1259: Called default
* phase-functions.sh, line 855: Called default_src_prepare
* phase-functions.sh, line 920: Called __eapi6_src_prepare
* environment, line 192: Called eapply_user
* environment, line 488: Called eapply '/etc/portage/patches/x11-wm/dwm/dwm-restartsig-20180523-6.2.patch'
* environment, line 458: Called _eapply_patch '/etc/portage/patches/x11-wm/dwm/dwm-restartsig-20180523-6.2.patch'
* environment, line 396: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/x11-wm/dwm/dwm-restartsig-20180523-6.2.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=x11-wm/dwm-6.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-wm/dwm-6.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-wm/dwm-6.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-wm/dwm-6.2/temp/environment'.
* Working directory: '/var/tmp/portage/x11-wm/dwm-6.2/work/dwm-6.2'
* S: '/var/tmp/portage/x11-wm/dwm-6.2/work/dwm-6.2' 





