Ticket #38046: mp4v2-2.0.diff

File mp4v2-2.0.diff, 4.3 KB (added by mschout@…, 11 years ago)

patch that updates mp4v2 to v2.0

  • Portfile

    diff -uNr mp4v2/Portfile mp4v2.new/Portfile
    old new  
    55
    66name                mp4v2
    77conflicts           mp4v2-devel
    8 version             1.9.1
    9 revision            2
     8version             2.0.0
     9revision            1
    1010categories          multimedia
    1111maintainers         gmail.com:cedric.luthi
    1212description         Read, create, and modify mp4 files.
     
    1919
    2020master_sites        googlecode
    2121
    22 checksums           md5    986701929ef15b03155ac4fb16444797 \
    23                     sha1   c62d00e99b65efce16accd83c501fb8a57206aa8 \
    24                     rmd160 66aed17925589b49ec3b1241bfcb45a8e3181c08
     22checksums           md5     c91f06711225b34b4c192c9114887b14 \
     23                    sha1    193260cfb7201e6ec250137bcca1468d4d20e2f0 \
     24                    rmd160  1b309ec6480dd06fac2e1e72ab666ca123e714d8
    2525
    2626depends_build       port:help2man
    2727
  • files/mp4v2-1.9.1-libversion.patch

    diff -uNr mp4v2/files/mp4v2-1.9.1-libversion.patch mp4v2.new/files/mp4v2-1.9.1-libversion.patch
    old new  
    1 diff -Nru ../mp4v2-1.9.1-orig/GNUmakefile.in ./GNUmakefile.in
    2 --- ../mp4v2-1.9.1-orig/GNUmakefile.in  2009-07-14 02:25:44.000000000 +0300
    3 +++ ./GNUmakefile.in    2009-10-10 11:12:15.000000000 +0300
    4 @@ -393,7 +393,6 @@
     1diff -ur mp4v2-2.0.0.orig/GNUmakefile.in mp4v2-2.0.0/GNUmakefile.in
     2--- GNUmakefile.in.orig 2012-05-20 17:18:00.000000000 -0500
     3+++ GNUmakefile.in      2013-08-07 14:17:10.000000000 -0500
     4@@ -411,7 +411,6 @@
    55 X_GCH_STATIC = @X_GCH_STATIC@
    66 X_GCH_STATIC_FLAGS = @X_GCH_STATIC_FLAGS@
    77 X_MINGW_LIBS = @X_MINGW_LIBS@
    88-X_libmp4v2_la_LDFLAGS = @X_libmp4v2_la_LDFLAGS@
    9  ac_ct_CC = @ac_ct_CC@
    10  ac_ct_CXX = @ac_ct_CXX@
    11  am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    12 @@ -443,7 +442,7 @@
    13  lib_LTLIBRARIES = libmp4v2.la
    14  
     9 abs_builddir = @abs_builddir@
     10 abs_srcdir = @abs_srcdir@
     11 abs_top_builddir = @abs_top_builddir@
     12@@ -470,7 +469,7 @@
    1513 ###############################################################################
    16 -libmp4v2_la_LDFLAGS = -version-number $(PROJECT_version_major):$(PROJECT_version_minor):$(PROJECT_version_point) $(X_libmp4v2_la_LDFLAGS)
    17 +libmp4v2_la_LDFLAGS = -version-number $(PROJECT_version_major):$(PROJECT_version_minor):$(PROJECT_version_point)
     14 libmp4v2_la_LDFLAGS = \
     15     $(AM_LDFLAGS) \
     16-    -version-number $(PROJECT_version_major):$(PROJECT_version_minor):$(PROJECT_version_point) $(X_libmp4v2_la_LDFLAGS)
     17+    -version-number $(PROJECT_version_major):$(PROJECT_version_minor):$(PROJECT_version_point)
     18 
    1819 libmp4v2_la_SOURCES = src/3gp.cpp src/atom_ac3.cpp src/atom_amr.cpp \
    1920        src/atom_avc1.cpp src/atom_avcC.cpp src/atom_chpl.cpp \
    20         src/atom_colr.cpp src/atom_d263.cpp src/atom_dac3.cpp \
    21 diff -Nru ../mp4v2-1.9.1-orig/configure ./configure
    22 --- ../mp4v2-1.9.1-orig/configure       2009-07-14 02:25:42.000000000 +0300
    23 +++ ./configure 2009-10-10 11:12:19.000000000 +0300
    24 @@ -810,7 +810,6 @@
     21diff -ur mp4v2-2.0.0.orig/configure mp4v2-2.0.0/configure
     22--- configure.orig      2012-05-20 17:17:59.000000000 -0500
     23+++ configure   2013-08-07 14:18:13.000000000 -0500
     24@@ -766,7 +766,6 @@
    2525 X_GCH_STATIC
    2626 X_GCH_FLAGS
    2727 X_GCH
     
    2929 PROJECT_build
    3030 PROJECT_repo_type
    3131 PROJECT_repo_date
    32 @@ -14149,18 +14148,6 @@
    33         CXXFLAGS="$CXXFLAGS_GGDB3"
     32@@ -14505,24 +14504,6 @@
    3433 fi
    3534 
    36 -###############################################################################
     35 ###############################################################################
    3736-# additional ldflags
    3837-###############################################################################
    3938-
     
    4140-    *-*-darwin*)
    4241-        X_libmp4v2_la_LDFLAGS='-Wl,-current_version,$(PROJECT_version_major).$(PROJECT_version_minor).$(PROJECT_version_point) -Wl,-compatibility_version,$(PROJECT_version_major).0.0'
    4342-        ;;
     43-    *-*-cygwin*)
     44-        X_libmp4v2_la_LDFLAGS='-no-undefined'
     45-        ;;
    4446-    *)
    4547-        X_libmp4v2_la_LDFLAGS=
    4648-        ;;
    4749-esac
    48  
    49  
     50-
     51-
     52-
     53-###############################################################################
     54 # check for --disable-fvisibility
     55 ###############################################################################
    5056