[FFmpeg-devel] patch for x32 for libpostproc

Michael Niedermayer michaelni at gmx.at
Wed Sep 3 15:39:35 CEST 2014

On Tue, Sep 02, 2014 at 10:06:10PM +0000, Thorsten Glaser wrote:
> Hi,
> as discussed in IRC, I was trying to minimal-invasively port
> libpostproc (the Debian source package) to x32¹. I could not
> test it (for lack of a stand-alone test program) yet, but at
> least I got it to build.

you could try to test by buiding ffmpeg as a whole but disable asm
everywhere except libpostproc
that might allow "easy" testing though fate or ffmpeg with libavfilter

also tried to apply locally to test on x86_64 but it doesnt apply:
    ffmpeg/.git/rebase-apply/patch:7: trailing whitespace.
    ffmpeg/.git/rebase-apply/patch:16: trailing whitespace.
            test "$subarch" = "x86_32" && check_cpp_condition sys/types.h \
    ffmpeg/.git/rebase-apply/patch:17: trailing whitespace.
                'defined(__x86_64__) && defined(__ILP32__)' && subarch="x32"
    ffmpeg/.git/rebase-apply/patch:18: trailing whitespace.
            if test "$subarch" = "x86_64" || test "$subarch" = "x32"; then
    ffmpeg/.git/rebase-apply/patch:29: trailing whitespace.
    #if (ARCH_X32 || ARCH_X86_64) && defined(PIC)

    fatal: sha1 information is lacking or useless (configure).
    Repository lacks necessary blobs to fall back on 3-way merge.
    Cannot fall back to three-way merge.
    Patch failed at 0001 patch for x32 for libpostproc
    When you have resolved this problem run "git am --resolved".
    If you would prefer to skip this patch, instead run "git am --skip".
    To restore the original branch and stop patching run "git am --abort".


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140903/6ecdce0c/attachment.asc>

More information about the ffmpeg-devel mailing list