public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/minidlna/files: minidlna-1.0.25-ffmpeg.patch
@ 2012-11-08 11:43 Alexis Ballier (aballier)
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier (aballier) @ 2012-11-08 11:43 UTC (permalink / raw
  To: gentoo-commits

aballier    12/11/08 11:43:45

  Added:                minidlna-1.0.25-ffmpeg.patch
  Log:
  fix build issues due to various header conflicts with recent ffmpeg: sanitize includes. bug #419451
  
  (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

Revision  Changes    Path
1.1                  net-misc/minidlna/files/minidlna-1.0.25-ffmpeg.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/minidlna/files/minidlna-1.0.25-ffmpeg.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/minidlna/files/minidlna-1.0.25-ffmpeg.patch?rev=1.1&content-type=text/plain

Index: minidlna-1.0.25-ffmpeg.patch
===================================================================
https://bugs.gentoo.org/show_bug.cgi?id=419451

Index: minidlna-1.0.25/Makefile
===================================================================
--- minidlna-1.0.25.orig/Makefile
+++ minidlna-1.0.25/Makefile
@@ -12,10 +12,7 @@
 #
 #CFLAGS = -Wall -O -D_GNU_SOURCE -g -DDEBUG
 #CFLAGS = -Wall -g -Os -D_GNU_SOURCE
-CFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \
-	 -I/usr/include/ffmpeg \
-	 -I/usr/include/libavutil -I/usr/include/libavcodec -I/usr/include/libavformat \
-	 -I/usr/include/ffmpeg/libavutil -I/usr/include/ffmpeg/libavcodec -I/usr/include/ffmpeg/libavformat
+CFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
 #STATIC_LINKING: CFLAGS += -DSTATIC
 #STATIC_LINKING: LDFLAGS = -static
 CC = gcc
Index: minidlna-1.0.25/metadata.c
===================================================================
--- minidlna-1.0.25.orig/metadata.c
+++ minidlna-1.0.25/metadata.c
@@ -30,9 +30,9 @@
 #include "image_utils.h"
 #include <jpeglib.h>
 #include <setjmp.h>
-#include <avutil.h>
-#include <avcodec.h>
-#include <avformat.h>
+#include <libavutil/avutil.h>
+#include <libavcodec/avcodec.h>
+#include <libavformat/avformat.h>
 #include "tagutils/tagutils.h"
 
 #include "upnpglobalvars.h"
Index: minidlna-1.0.25/minidlna.c
===================================================================
--- minidlna-1.0.25.orig/minidlna.c
+++ minidlna-1.0.25/minidlna.c
@@ -69,6 +69,7 @@
 
 #ifdef ENABLE_NLS
 #include <libintl.h>
+#include <locale.h>
 #endif
 
 #include "upnpglobalvars.h"
Index: minidlna-1.0.25/tagutils/tagutils-plist.c
===================================================================
--- minidlna-1.0.25.orig/tagutils/tagutils-plist.c
+++ minidlna-1.0.25/tagutils/tagutils-plist.c
@@ -27,7 +27,7 @@
 #include "misc.h"
 #include "tagutils.h"
 #include "textutils.h"
-#include "log.h"
+#include "../log.h"
 
 
 #define MAX_BUF 4096





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

only message in thread, other threads:[~2012-11-08 11:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-08 11:43 [gentoo-commits] gentoo-x86 commit in net-misc/minidlna/files: minidlna-1.0.25-ffmpeg.patch Alexis Ballier (aballier)

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