[121115] users/mojca/ports/gis/grass

mojca at macports.org mojca at macports.org
Tue Jun 17 14:07:03 PDT 2014


Revision: 121115
          https://trac.macports.org/changeset/121115
Author:   mojca at macports.org
Date:     2014-06-17 14:07:03 -0700 (Tue, 17 Jun 2014)
Log Message:
-----------
mojca/grass: add ffmpeg's libavutil to include dirs rather than patching headers

Modified Paths:
--------------
    users/mojca/ports/gis/grass/Portfile

Removed Paths:
-------------
    users/mojca/ports/gis/grass/files/patch-ffmpeg.diff

Modified: users/mojca/ports/gis/grass/Portfile
===================================================================
--- users/mojca/ports/gis/grass/Portfile	2014-06-17 20:55:48 UTC (rev 121114)
+++ users/mojca/ports/gis/grass/Portfile	2014-06-17 21:07:03 UTC (rev 121115)
@@ -43,8 +43,7 @@
 patchfiles          patch-configure.diff \
                     patch-include-Make-Install.make.diff \
                     patch-is_void.diff \
-                    patch-lib-init-grass.sh.diff \
-                    patch-ffmpeg.diff
+                    patch-lib-init-grass.sh.diff
 
 post-patch {
     reinplace "s|@@APPLICATIONS_DIR@@|${applications_dir}|" ${worksrcpath}/configure
@@ -157,6 +156,7 @@
     configure.args-append   --with-ffmpeg \
                             --with-ffmpeg-includes=\"${prefix}/include/libavcodec  \
                                                      ${prefix}/include/libavformat \
+                                                     ${prefix}/include/libavutil \
                                                      ${prefix}/include/libswscale\" \
                             --with-ffmpeglibs=${prefix}/lib
 }

Deleted: users/mojca/ports/gis/grass/files/patch-ffmpeg.diff
===================================================================
--- users/mojca/ports/gis/grass/files/patch-ffmpeg.diff	2014-06-17 20:55:48 UTC (rev 121114)
+++ users/mojca/ports/gis/grass/files/patch-ffmpeg.diff	2014-06-17 21:07:03 UTC (rev 121115)
@@ -1,11 +0,0 @@
---- lib/ogsf/gsd_img_mpeg.c.orig
-+++ lib/ogsf/gsd_img_mpeg.c
-@@ -30,7 +30,7 @@
- #include <avutil.h>
- #else
- /* libavutil 51.22.1's avutil.h doesn't include libavutil/mathematics.h */
--#include <mathematics.h>
-+#include <libavutil/mathematics.h>
- #endif
- 
- /* 5 seconds stream duration */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140617/edb21c3b/attachment-0001.html>


More information about the macports-changes mailing list