[48291] trunk/dports/devel/libdlna

devans at macports.org devans at macports.org
Wed Mar 18 07:52:50 PDT 2009


Revision: 48291
          http://trac.macports.org/changeset/48291
Author:   devans at macports.org
Date:     2009-03-18 07:52:50 -0700 (Wed, 18 Mar 2009)
Log Message:
-----------
libdlna: add patches to fix build against latest ffmpeg 0.5, increment revision. Closes #18856 (maintainer timeout).

Modified Paths:
--------------
    trunk/dports/devel/libdlna/Portfile
    trunk/dports/devel/libdlna/files/patch-configure.diff

Added Paths:
-----------
    trunk/dports/devel/libdlna/files/patch-src-av_mpeg4_part10.c.diff
    trunk/dports/devel/libdlna/files/patch-src-av_mpeg4_part2.c.diff
    trunk/dports/devel/libdlna/files/patch-src-containers.c.diff
    trunk/dports/devel/libdlna/files/patch-src-profiles.h.diff

Modified: trunk/dports/devel/libdlna/Portfile
===================================================================
--- trunk/dports/devel/libdlna/Portfile	2009-03-18 14:52:23 UTC (rev 48290)
+++ trunk/dports/devel/libdlna/Portfile	2009-03-18 14:52:50 UTC (rev 48291)
@@ -5,7 +5,7 @@
 
 name                libdlna
 version             0.2.3
-revision            1
+revision            2
 categories          devel
 platforms           darwin
 maintainers         sfiera
@@ -22,7 +22,12 @@
 use_bzip2           yes
 checksums           md5 2c974f95b711e5fd07f78fc4ebfcca66
 
-patchfiles          patch-configure.diff
+patchfiles          patch-configure.diff \
+                    patch-src-profiles.h.diff \
+                    patch-src-av_mpeg4_part2.c.diff \
+                    patch-src-av_mpeg4_part10.c.diff \
+                    patch-src-containers.c.diff
+
 platform darwin {
     patchfiles-append   patch-Makefile.diff
 }

Modified: trunk/dports/devel/libdlna/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/libdlna/files/patch-configure.diff	2009-03-18 14:52:23 UTC (rev 48290)
+++ trunk/dports/devel/libdlna/files/patch-configure.diff	2009-03-18 14:52:50 UTC (rev 48291)
@@ -1,7 +1,19 @@
---- configure	2007-12-09 08:03:36.000000000 -0500
-+++ configure.new	2008-01-12 14:41:04.000000000 -0500
-@@ -720,7 +720,7 @@
+--- configure.orig	2007-11-26 12:47:43.000000000 -0800
++++ configure	2009-03-15 14:18:03.000000000 -0700
+@@ -610,9 +610,9 @@
  fi
+ 
+ echolog "Checking for libavformat ..."
+-check_lib ffmpeg/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !"
++check_lib libavformat/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !"
+ echolog "Checking for libavcodec ..."
+-check_lib ffmpeg/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !"
++check_lib libavcodec/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !"
+ 
+ #################################################
+ #   version
+@@ -688,7 +688,7 @@
+ fi
  append_config "EXTRALIBS=$extralibs"
  
 -append_config "OPTFLAGS=$CFLAGS"

Added: trunk/dports/devel/libdlna/files/patch-src-av_mpeg4_part10.c.diff
===================================================================
--- trunk/dports/devel/libdlna/files/patch-src-av_mpeg4_part10.c.diff	                        (rev 0)
+++ trunk/dports/devel/libdlna/files/patch-src-av_mpeg4_part10.c.diff	2009-03-18 14:52:50 UTC (rev 48291)
@@ -0,0 +1,11 @@
+--- src/av_mpeg4_part10.c.orig	2009-03-15 14:51:45.000000000 -0700
++++ src/av_mpeg4_part10.c	2009-03-15 14:52:45.000000000 -0700
+@@ -26,7 +26,7 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ 
+-#include <ffmpeg/avcodec.h>
++#include <libavcodec/avcodec.h>
+ 
+ #include "dlna_internals.h"
+ #include "profiles.h"

Added: trunk/dports/devel/libdlna/files/patch-src-av_mpeg4_part2.c.diff
===================================================================
--- trunk/dports/devel/libdlna/files/patch-src-av_mpeg4_part2.c.diff	                        (rev 0)
+++ trunk/dports/devel/libdlna/files/patch-src-av_mpeg4_part2.c.diff	2009-03-18 14:52:50 UTC (rev 48291)
@@ -0,0 +1,11 @@
+--- src/av_mpeg4_part2.c.orig	2009-03-15 14:52:04.000000000 -0700
++++ src/av_mpeg4_part2.c	2009-03-15 14:53:20.000000000 -0700
+@@ -26,7 +26,7 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ 
+-#include <ffmpeg/avcodec.h>
++#include <libavcodec/avcodec.h>
+ 
+ #include "dlna_internals.h"
+ #include "profiles.h"

Added: trunk/dports/devel/libdlna/files/patch-src-containers.c.diff
===================================================================
--- trunk/dports/devel/libdlna/files/patch-src-containers.c.diff	                        (rev 0)
+++ trunk/dports/devel/libdlna/files/patch-src-containers.c.diff	2009-03-18 14:52:50 UTC (rev 48291)
@@ -0,0 +1,11 @@
+--- src/containers.c.orig	2009-03-15 14:29:07.000000000 -0700
++++ src/containers.c	2009-03-15 14:29:36.000000000 -0700
+@@ -4,7 +4,7 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ 
+-#include <ffmpeg/avformat.h>
++#include <libavformat/avformat.h>
+ 
+ #include "containers.h"
+ #include "profiles.h"

Added: trunk/dports/devel/libdlna/files/patch-src-profiles.h.diff
===================================================================
--- trunk/dports/devel/libdlna/files/patch-src-profiles.h.diff	                        (rev 0)
+++ trunk/dports/devel/libdlna/files/patch-src-profiles.h.diff	2009-03-18 14:52:50 UTC (rev 48291)
@@ -0,0 +1,13 @@
+--- src/profiles.h.orig	2009-03-15 14:24:42.000000000 -0700
++++ src/profiles.h	2009-03-15 14:25:50.000000000 -0700
+@@ -22,8 +22,8 @@
+ #ifndef _PROFILES_H_
+ #define _PROFILES_H_
+ 
+-#include <ffmpeg/avcodec.h>
+-#include <ffmpeg/avformat.h>
++#include <libavcodec/avcodec.h>
++#include <libavformat/avformat.h>
+ 
+ #include "dlna_internals.h"
+ #include "containers.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090318/0fa4a938/attachment.html>


More information about the macports-changes mailing list