Ticket #7577: flac.diff

File flac.diff, 1.3 KB (added by takanori@…, 19 years ago)

flac.diff

  • Portfile

    diff -Naur flac.orig/Portfile flac/Portfile
    old new  
    1818platforms        darwin freebsd
    1919master_sites    sourceforge
    2020checksums       md5 2bfc127cdda02834d0491ab531a20960
    21 patchfiles      patch-ltmain.sh
     21patchfiles      patch-ltmain.sh patch-nasm.h
    2222
    2323depends_lib     lib:libogg.0:libogg lib:libid3.3:id3lib
    2424
    2525configure.env   XMMS_CONFIG=/usr/bin/false
    2626configure.args  --mandir=${prefix}/share/man
    2727
     28build.args      OBJ_FORMAT=macho
     29
    2830test.run        yes
    2931test.target     check
  • files/patch-nasm.h

    diff -Naur flac.orig/files/patch-nasm.h flac/files/patch-nasm.h
    old new  
     1--- src/libFLAC/ia32/nasm.h~    2005-01-25 13:14:22.000000000 +0900
     2+++ src/libFLAC/ia32/nasm.h     2006-03-15 18:07:23.000000000 +0900
     3@@ -49,6 +49,11 @@
     4        %idefine code_section section .text align=16
     5        %idefine data_section section .data align=32
     6        %idefine bss_section  section .bss  align=32
     7+%elifdef OBJ_FORMAT_macho
     8+       %define FLAC__PUBLIC_NEEDS_UNDERSCORE
     9+       %idefine code_section section .text
     10+       %idefine data_section section .data
     11+       %idefine bss_section  section .bss
     12 %else
     13        %error unsupported object format!
     14 %endif