patch-configure 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- MPlayer-1.0rc2.orig/configure 2007-10-07 21:49:33.000000000 +0200
  3. +++ MPlayer-1.0rc2/configure 2009-05-10 18:37:32.000000000 +0200
  4. @@ -2331,7 +2331,7 @@ elif test -z "$CFLAGS" ; then
  5. elif test "$cc_vendor" != "gnu" ; then
  6. CFLAGS="-O2 $_march $_mcpu $_pipe"
  7. else
  8. - CFLAGS="-Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
  9. + CFLAGS="-Wall -Wno-switch -Wpointer-arith -Wredundant-decls $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
  10. fi
  11. else
  12. _warn_CFLAGS=yes
  13. @@ -3853,26 +3853,6 @@ else
  14. fi
  15. -echocheck "X11 headers presence"
  16. - _x11_headers="no"
  17. - _res_comment="check if the dev(el) packages are installed"
  18. - for I in `echo $_inc_extra | sed s/-I//g` /usr/include ; do
  19. - if test -f "$I/X11/Xlib.h" ; then
  20. - _x11_headers="yes"
  21. - _res_comment=""
  22. - break
  23. - fi
  24. - done
  25. - for I in /usr/X11/include /usr/X11R6/include /usr/include/X11R6 /usr/openwin/include ; do
  26. - if test -f "$I/X11/Xlib.h" ; then
  27. - _inc_extra="$_inc_extra -I$I"
  28. - _x11_headers="yes"
  29. - _res_comment="using $I"
  30. - break
  31. - fi
  32. - done
  33. -echores "$_x11_headers"
  34. -
  35. echocheck "X11"
  36. if test "$_x11" = auto && test "$_x11_headers" = yes ; then