#!/bin/sh -e
patch -p1 < portability.patch
./configure \
--prefix=/usr \
--disable-swscale \
--enable-static \
--enable-pic \
--enable-shared
make
make install