public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-client/chromium/files: chromium-system-flac-r0.patch flac.gyp
@ 2011-01-22 16:18 PaweA Hajdan (phajdan.jr)
  0 siblings, 0 replies; only message in thread
From: PaweA Hajdan (phajdan.jr) @ 2011-01-22 16:18 UTC (permalink / raw
  To: gentoo-commits

phajdan.jr    11/01/22 16:18:21

  Added:                chromium-system-flac-r0.patch flac.gyp
  Log:
  Build with system flac, bug #352093 by Mike Gilbert <floppymaster@gmail.com>.
  
  (Portage version: 2.1.9.25/cvs/Linux i686)

Revision  Changes    Path
1.1                  www-client/chromium/files/chromium-system-flac-r0.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-system-flac-r0.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-system-flac-r0.patch?rev=1.1&content-type=text/plain

Index: chromium-system-flac-r0.patch
===================================================================
--- third_party/flac/flac.h.orig	2011-01-22 14:23:20.000000000 +0000
+++ third_party/flac/flac.h	2011-01-22 14:24:34.000000000 +0000
@@ -9,6 +9,10 @@
 // This is a shim header to include the right flac headers.
 // Use this instead of referencing the flac headers directly.
 
+#if defined(USE_SYSTEM_FLAC)
+#include <FLAC/stream_encoder.h>
+#else
 #include "third_party/flac/include/FLAC/stream_encoder.h"
+#endif
 
 #endif  // THIRD_PARTY_FLAC_FLAC_H_



1.1                  www-client/chromium/files/flac.gyp

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/flac.gyp?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/flac.gyp?rev=1.1&content-type=text/plain

Index: flac.gyp
===================================================================
{
  'targets': [
    {
      'target_name': 'libflac',
      'type': 'settings',
      'direct_dependent_settings': {
        'defines': [
          'USE_SYSTEM_FLAC',
        ],
      },
      'link_settings': {
        'ldflags': [
          '<!@(pkg-config --libs-only-L --libs-only-other flac)',
        ],
        'libraries': [
          '<!@(pkg-config --libs-only-l flac)',
        ],
      },
    },
  ],
}






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

only message in thread, other threads:[~2011-01-22 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-22 16:18 [gentoo-commits] gentoo-x86 commit in www-client/chromium/files: chromium-system-flac-r0.patch flac.gyp PaweA Hajdan (phajdan.jr)

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