Warning, /multimedia/kid3/packaging/patches/flac-1.2.1-mac00-fink.patch is written in an unsupported language. File is not indexed.
0001 diff -ruN flac-1.2.1/patches/fixrpath.sh flac-1.2.1.new/patches/fixrpath.sh 0002 --- flac-1.2.1/patches/fixrpath.sh 1969-12-31 19:00:00.000000000 -0500 0003 +++ flac-1.2.1.new/patches/fixrpath.sh 2008-02-18 10:51:07.000000000 -0500 0004 @@ -0,0 +1,28 @@ 0005 +#!/bin/sh 0006 +# $Id: fixrpath,v 1.1 2004/05/27 10:48:25 kobras Exp $ 0007 +# libtool -rpath workaround based on a suggestion by Yann Dirson 0008 +# <dirson@debian.org> 0009 +# 0010 +# It is supposed to be inserted in configure.in, but I didn't want 0011 +# to re-run autoconf (since that bloats the Debian diff unnecessarily), 0012 +# so I just patch libtool after running configure. -- Richard Braakman 0013 +# <dark@xs4all.nl> 0014 +# 0015 +# The version of libtool included with LessTif unfortunately insists on 0016 +# linking with -rpath, i.e. hardwiring locations. This is not desirable. 0017 +# 0018 +# The dummy define is improbable enough not to conflict with anything; it is 0019 +# just here to fool libtool by making it believe it gave some useful info to 0020 +# gcc. 0021 +# 0022 +# This will also patch the generated libtool to explicitly 0023 +# link libraries against the libraries they depend on. (particularly libc) 0024 + 0025 +for i in libtool libtool-disable-static; do 0026 +sed < $i > $i-2 \ 0027 + -e 's/^hardcode_libdir_flag_spec.*$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' \ 0028 + -e '/^archive_cmds="/s/"$/ \$deplibs"/' 0029 +mv $i-2 $i 0030 +chmod 755 $i 0031 +done 0032 + 0033 diff -ruN flac-1.2.1/patches/ltmain.sh.patch flac-1.2.1.new/patches/ltmain.sh.patch 0034 --- flac-1.2.1/patches/ltmain.sh.patch 1969-12-31 19:00:00.000000000 -0500 0035 +++ flac-1.2.1.new/patches/ltmain.sh.patch 2008-02-18 10:48:01.000000000 -0500 0036 @@ -0,0 +1,11 @@ 0037 +--- ltmain.sh.orig Fri Feb 4 21:22:19 2005 0038 ++++ ltmain.sh Wed Feb 23 19:09:37 2005 0039 +@@ -2280,7 +2280,7 @@ 0040 + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then 0041 + if test "$installed" = no; then 0042 + notinst_deplibs="$notinst_deplibs $lib" 0043 +- need_relink=yes 0044 ++ need_relink=no 0045 + fi 0046 + # This is a shared library 0047 + 0048 diff -ruN flac-1.2.1/patches/nasm.h.patch flac-1.2.1.new/patches/nasm.h.patch 0049 --- flac-1.2.1/patches/nasm.h.patch 1969-12-31 19:00:00.000000000 -0500 0050 +++ flac-1.2.1.new/patches/nasm.h.patch 2007-01-25 21:34:54.000000000 -0500 0051 @@ -0,0 +1,14 @@ 0052 +--- src/libFLAC/ia32/nasm.h~ 2005-01-25 13:14:22.000000000 +0900 0053 ++++ src/libFLAC/ia32/nasm.h 2006-03-15 18:07:23.000000000 +0900 0054 +@@ -49,6 +49,11 @@ 0055 + %idefine code_section section .text align=16 0056 + %idefine data_section section .data align=32 0057 + %idefine bss_section section .bss align=32 0058 ++%elifdef OBJ_FORMAT_macho 0059 ++ %define FLAC__PUBLIC_NEEDS_UNDERSCORE 0060 ++ %idefine code_section section .text 0061 ++ %idefine data_section section .data 0062 ++ %idefine bss_section section .bss 0063 + %else 0064 + %error unsupported object format! 0065 + %endif 0066 diff -ru flac-1.3.0/src/plugin_xmms/Makefile.in flac-1.3.0.new/src/plugin_xmms/Makefile.in 0067 --- flac-1.3.0/src/plugin_xmms/Makefile.in 2013-05-27 10:11:57.000000000 +0200 0068 +++ flac-1.3.0.new/src/plugin_xmms/Makefile.in 2013-10-16 13:30:02.000000000 +0200 0069 @@ -361,7 +361,6 @@ 0070 $(top_builddir)/src/share/replaygain_synthesis/libreplaygain_synthesis.la \ 0071 $(top_builddir)/src/share/utf8/libutf8.la \ 0072 $(top_builddir)/src/libFLAC/libFLAC.la \ 0073 - -L$(top_builddir)/src/libFLAC/.libs \ 0074 @XMMS_LIBS@ \ 0075 @LIBICONV@