media-gfx/digikam-0.9.5-r1 fails to emerge with USE=doc. >>> Unpacking digikam-0.9.5.tar.bz2 to /var/tmp/portage/media-gfx/digikam-0.9.5-r1/work * Preparing to build translations for: en de en_GB * Preparing to build digiKam documentation for: en de * Preparing to build ShowFoto documentation for: en de * Applying 0.9.5-cam_download.patch ... * Failed Patch: 0.9.5-cam_download.patch ! * ( /usr/portage/media-gfx/digikam/files/0.9.5-cam_download.patch ) This is due to the fact, that epatch is after the "if use doc" part, that changes current directory, so if doc is enabled, the current directory is no longer $S when the code reaches epatch. A fix is attached. It moves the epatch before "if use doc".
Created attachment 192808 [details, diff] move epatch to a safe place
Hi, thx for the patch. Applied in main tree. Just for note, you can apply patches for kde3 yourself, specialy when you are fixing bugreport not doing feature request. Only thing one has to do is folow the code: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=blob;f=Documentation/CODE Cheers Tomas