>>> Emerging (1 of 1) media-libs/xine-lib-1.2.9999::gentoo >>> Unpacking source... * Updating /usr/portage/distfiles/hg-src/xine-lib/xine-lib-1.2 from http://hg.code.sf.net/p/xine/xine-lib-1.2 pulling from http://hg.code.sf.net/p/xine/xine-lib-1.2 searching for changes no changes found * Creating working directory in /var/tmp/portage/media-libs/xine-lib-1.2.9999/work/xine-lib-1.2.9999 (target revision: default) updating to branch default 1347 files updated, 0 files merged, 0 files removed, 0 files unresolved * Work directory: /var/tmp/portage/media-libs/xine-lib-1.2.9999/work/xine-lib-1.2.9999 global id: 9e326869fe0f (was default branch: default >>> Source unpacked in /var/tmp/portage/media-libs/xine-lib-1.2.9999/work >>> Preparing source in /var/tmp/portage/media-libs/xine-lib-1.2.9999/work/xine-lib-1.2.9999 ... * Applying xine-lib-1.2.13-configure-clang16.patch ... can't find file to patch at input line 23 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |https://src.fedoraproject.org/rpms/xine-lib/blob/778d0883383a1e8ee4060b1d8583296812e077d4/f/xine-lib-configure-c99.patch | |configure: Add fake prototypes for C99 compatibility | |The xxmc-related configure probes assume that the compiler |supports implicit function declarations because it tries to |call the functions without including the appropriate headers, |for link testing. | |As the headers are not determined yet at this point, use |a fake prototype (the same that autoconf uses) to avoid |the implicit function declarations. | |This avoids altering the outcome of these checks with future |compilers which do not support implicit function declarations. | |Submitted upstream: | | | |--- a/configure |+++ b/configure -------------------------- No file to patch. Skipping patch. 6 out of 6 hunks ignored patching file m4/video_out.m4 Hunk #1 FAILED at 496. Hunk #2 FAILED at 506. Hunk #3 FAILED at 521. 3 out of 3 hunks FAILED -- saving rejects to file m4/video_out.m4.rej [ !! ] * ERROR: media-libs/xine-lib-1.2.9999::gentoo failed (prepare phase): * patch -p1 failed with /var/tmp/portage/media-libs/xine-lib-1.2.9999/files/xine-lib-1.2.13-configure-clang16.patch