diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2010-05-19 01:54:56 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2010-05-19 01:54:56 -0400 |
commit | f10a7e233e067ae39596ffe0b411befd8c3ac620 (patch) | |
tree | 641e003788d37ce0d3402533beb738d853ec66a6 /multimedia/mjpegtools/mjpegtools.SlackBuild | |
parent | 49e6340cd8b5eafa0621caca6c962fecba7f5a39 (diff) | |
download | slackbuilds-f10a7e233e067ae39596ffe0b411befd8c3ac620.tar.gz |
multimedia/mjpegtools: Patched to build with glibc 2.10.
Diffstat (limited to 'multimedia/mjpegtools/mjpegtools.SlackBuild')
-rw-r--r-- | multimedia/mjpegtools/mjpegtools.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/multimedia/mjpegtools/mjpegtools.SlackBuild b/multimedia/mjpegtools/mjpegtools.SlackBuild index e7397670d2..86d7b3e879 100644 --- a/multimedia/mjpegtools/mjpegtools.SlackBuild +++ b/multimedia/mjpegtools/mjpegtools.SlackBuild @@ -57,6 +57,8 @@ chmod -R a-s,u+w,go+r-w . # Fix for x86_64 sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure +patch -p1 < $CWD/mjpegtools-1.9.0-glibc-2.10.patch +patch -p0 < $CWD/mjpegtools-1.9.0-jpeg-7.patch CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -74,12 +76,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; |