Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1490259
 поиск   регистрация   авторизация 
 
Группа :: Видео
Пакет: MPlayer

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: MPlayer-1.0pre4-alt-explicit_gif.patch


--- MPlayer-1.0pre4.orig/configure	2004-05-03 00:18:16 +0700
+++ MPlayer-1.0pre4/configure	2004-05-03 00:57:35 +0700
@@ -3595,6 +3595,20 @@
     _gif=yes
     _ld_gif="-lgif $_ld_x11"
   fi
+elif test "$_gif" = yes ; then
+  # check existance of gif/ungif lib and complain if it can' be found...
+  if cc_check -lungif && "$TMPO" >> "$TMPLOG" ; then
+    _ld_gif="-lungif"
+  elif cc_check -lungif $_ld_x11 && "$TMPO" >> "$TMPLOG" ; then
+    _ld_gif="-lungif $_ld_x11"
+  elif cc_check -lgif && "$TMPO" >> "$TMPLOG" ; then
+    _ld_gif="-lgif"
+  elif cc_check -lgif $_ld_x11 && "$TMPO" >> "$TMPLOG" ; then
+    _ld_gif="-lgif $_ld_x11"
+  else
+    die "GIF support is requested but neither libungif nor libgif can't be found"
+  fi
+  
 fi
 
 if test "$_gif" = yes ; then
 
design & coding: Vladimir Lettiev aka crux © 2004-2005