Ticket #4307: XviD.diff

File XviD.diff, 2.4 KB (added by pguyot (Paul Guyot), 19 years ago)

Patch to fix the problem.

  • files/patch-build_generic_Makefile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/multimedia/XviD/files/patch-build_generic_Makefile,v
    retrieving revision 1.1
    diff -u -r1.1 patch-build_generic_Makefile
     
    1 --- Makefile.orig       Sun Jan 25 09:03:01 2004
    2 +++ Makefile    Tue Feb  3 01:12:24 2004
    3 @@ -44,6 +44,8 @@
     1--- Makefile.orig       2004-12-19 20:38:46.000000000 +0900
     2+++ Makefile    2005-08-07 09:53:44.000000000 +0900
     3@@ -45,6 +45,8 @@
    44 
    55 RM = rm -rf
    66 
     
    99 ##############################################################################
    1010 #
    1111 # Build rules
    12 @@ -134,16 +136,16 @@
     12@@ -135,16 +137,16 @@
    1313 #-----------------------------------------------------------------------------
    1414 
    1515 install: $(BUILD_DIR)/$(STATIC_LIB) $(BUILD_DIR)/$(SHARED_LIB)
  • files/patch-build_generic_configure

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/multimedia/XviD/files/patch-build_generic_configure,v
    retrieving revision 1.1
    diff -u -r1.1 patch-build_generic_configure
     
    1 --- configure.orig      2004-01-25 09:03:07.000000000 -0700
    2 +++ configure   2004-02-03 20:01:59.937826000 -0700
    3 @@ -3819,7 +3819,7 @@
     1--- configure   2004-12-19 20:38:55.000000000 +0900
     2+++ configure   2005-08-07 09:51:05.000000000 +0900
     3@@ -1326,7 +1326,6 @@
     4 our_cflags_defaults="$our_cflags_defaults -O2"
     5 our_cflags_defaults="$our_cflags_defaults -fstrength-reduce"
     6 our_cflags_defaults="$our_cflags_defaults -finline-functions"
     7-our_cflags_defaults="$our_cflags_defaults -freduce-all-givs"
     8 our_cflags_defaults="$our_cflags_defaults -ffast-math"
     9 our_cflags_defaults="$our_cflags_defaults -fomit-frame-pointer"
     10 
     11@@ -3819,7 +3818,7 @@
    412 SPECIFIC_CFLAGS=""
    513 PRE_SHARED_LIB=""
    614 case "$target_os" in
     
    917        echo "$as_me:$LINENO: result: ok" >&5
    1018 echo "${ECHO_T}ok" >&6
    1119        STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
    12 @@ -3827,6 +3827,14 @@
     20@@ -3827,6 +3826,14 @@
    1321        SPECIFIC_LDFLAGS="-Wl,-soname,libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR) -shared -lc -lm"
    1422        SPECIFIC_CFLAGS="-fPIC"
    1523        ;;