Ignore:
Timestamp:
Nov 27, 2013, 3:05:43 AM (6 years ago)
Author:
ryandesign@…
Message:

mp4v2: update the patchfile so it applies, from #38046

Location:
trunk/dports/multimedia/mp4v2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/multimedia/mp4v2/Portfile

    r113975 r113987  
    3030platform darwin {
    3131    if {${os.major} < 10} {
    32         patchfiles          mp4v2-1.9.1-libversion.patch
     32        patchfiles-append mp4v2-1.9.1-libversion.patch
    3333    }
    3434}
  • trunk/dports/multimedia/mp4v2/files/mp4v2-1.9.1-libversion.patch

    r65108 r113987  
    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
     9 abs_builddir = @abs_builddir@
     10 abs_srcdir = @abs_srcdir@
     11 abs_top_builddir = @abs_top_builddir@
     12@@ -470,7 +469,7 @@
     13 ###############################################################################
     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)
    1418 
    15  ###############################################################################
    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)
    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
     
    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-###############################################################################
     
    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
     50-
     51-
     52-
     53-###############################################################################
     54 # check for --disable-fvisibility
     55 ###############################################################################
    4856 
    49  
    50  
Note: See TracChangeset for help on using the changeset viewer.