public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-plugins/gnash/files: gnash-0.8.9-ffmpeg-detection.patch
@ 2011-04-07 23:53 Chi-Thanh Christopher Nguyen (chithanh)
  0 siblings, 0 replies; only message in thread
From: Chi-Thanh Christopher Nguyen (chithanh) @ 2011-04-07 23:53 UTC (permalink / raw
  To: gentoo-commits

chithanh    11/04/07 23:53:30

  Added:                gnash-0.8.9-ffmpeg-detection.patch
  Log:
  Fix building against recent ffmpeg, drop useless video_cards_intel.
  
  (Portage version: 2.2.0_alpha29/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  www-plugins/gnash/files/gnash-0.8.9-ffmpeg-detection.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/gnash/files/gnash-0.8.9-ffmpeg-detection.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/gnash/files/gnash-0.8.9-ffmpeg-detection.patch?rev=1.1&content-type=text/plain

Index: gnash-0.8.9-ffmpeg-detection.patch
===================================================================
From f05022aca2c14022a942d36a22764fae4b8f00c0 Mon Sep 17 00:00:00 2001
From: Brad Smith <brad@comstyle.com>
Date: Sun, 03 Apr 2011 10:56:27 +0000
Subject: Fix newer FFmpeg detection with pkg-config.

---
diff --git a/macros/ffmpeg.m4 b/macros/ffmpeg.m4
index 2a3d3fb..42c7555 100644
--- a/macros/ffmpeg.m4
+++ b/macros/ffmpeg.m4
@@ -70,6 +70,9 @@ AC_DEFUN([GNASH_PATH_FFMPEG],
           if test -f ${ffmpeg_top_incl}/${i}/avcodec.h; then
             ac_cv_path_ffmpeg_incl="-I`(cd ${ffmpeg_top_incl}; pwd)`"
             avcodec_h="${ffmpeg_top_incl}/${i}/avcodec.h"
+            if test -f ${ffmpeg_top_incl}/${i}/version.h; then
+              avcodec_version_h=${ffmpeg_top_incl}/${i}/version.h
+            fi
             break
           fi
         done
--
cgit v0.8.3.4






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-07 23:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-07 23:53 [gentoo-commits] gentoo-x86 commit in www-plugins/gnash/files: gnash-0.8.9-ffmpeg-detection.patch Chi-Thanh Christopher Nguyen (chithanh)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox