[arch-commits] Commit in transcode/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun May 31 12:44:23 UTC 2009


    Date: Sunday, May 31, 2009 @ 08:44:23
  Author: jgc
Revision: 40789

Fix build with new glibc

Modified:
  transcode/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-31 12:07:46 UTC (rev 40788)
+++ PKGBUILD	2009-05-31 12:44:23 UTC (rev 40789)
@@ -49,13 +49,14 @@
   make DESTDIR="${pkgdir}" install || return 1
  ##############################################################################
  # this imports the latest subtitleripper sources and replaces the internal
-###  rm -rf $startdir/src/$pkgname-$pkgver/contrib/subrip
   mkdir contrib
   mv ${srcdir}/subtitleripper contrib/subrip
  # removes dependency on libppm, make it dependend on netpbm just failed, argh...
-  sed -i 's|^\(.*lppm.*\)$|#\1|' contrib/subrip/Makefile || return 1
-  sed -i 's|^\(.*D_HAVE_LIB_PPM.*\)$|#\1|' contrib/subrip/Makefile || return 1
   cd contrib/subrip || return 1
+  sed -e 's|^\(.*lppm.*\)$|#\1|' \
+      -e 's|^\(.*D_HAVE_LIB_PPM.*\)$|#\1|' \
+      -e 's/DEFINES :=/DEFINES = -DHAVE_GETLINE/' \
+      -i Makefile || return 1
   make || return 1
   install -m 755 pgm2txt ${pkgdir}/usr/bin/ || return 1
   install -m 755 srttool ${pkgdir}/usr/bin/ || return 1




More information about the arch-commits mailing list