diff options
author | nork <nork@FreeBSD.org> | 2003-02-02 12:15:14 +0000 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-02-02 12:15:14 +0000 |
commit | d4e5511ef319558cb84c368484635631f7de28c3 (patch) | |
tree | b99d44d54c7e02663ee37f4b28bf8a4f2040e11f /audio/libsidplay2/files | |
parent | 6865dddf41722be59b7e978cc1b91d20b8d83d6b (diff) | |
download | FreeBSD-ports-d4e5511ef319558cb84c368484635631f7de28c3.zip FreeBSD-ports-d4e5511ef319558cb84c368484635631f7de28c3.tar.gz |
Update to 2.1.0.
PR: ports/47316
Submitted by: Ports Fury
Diffstat (limited to 'audio/libsidplay2/files')
6 files changed, 168 insertions, 85 deletions
diff --git a/audio/libsidplay2/files/patch-builders::resid-builder::unix::ltmain.sh b/audio/libsidplay2/files/patch-builders::resid-builder::unix::ltmain.sh new file mode 100644 index 0000000..5c482d1 --- /dev/null +++ b/audio/libsidplay2/files/patch-builders::resid-builder::unix::ltmain.sh @@ -0,0 +1,42 @@ +--- builders/resid-builder/unix/ltmain.sh.orig Tue Dec 24 05:38:47 2002 ++++ builders/resid-builder/unix/ltmain.sh Wed Jan 22 04:51:36 2003 +@@ -1221,7 +1221,7 @@ + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # OpenBSD uses either libc or libc_r. + continue + ;; +@@ -1233,7 +1233,7 @@ + fi + if test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -2814,7 +2814,7 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # OpenBSD uses either libc or libc_r. + ;; + *) +@@ -4672,10 +4672,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/audio/libsidplay2/files/patch-configure b/audio/libsidplay2/files/patch-configure deleted file mode 100644 index b389458..0000000 --- a/audio/libsidplay2/files/patch-configure +++ /dev/null @@ -1,12 +0,0 @@ ---- configure.orig Tue May 8 02:23:11 2001 -+++ configure Sun Dec 1 07:12:29 2002 -@@ -1838,7 +1838,8 @@ - - - # This can be used to rebuild libtool when needed --LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh" -+LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+$ac_aux_dir/ltconfig $LIBTOOL_DEPS - - # Always use our own libtool. - LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/audio/libsidplay2/files/patch-libsidplay::unix::ltmain.sh b/audio/libsidplay2/files/patch-libsidplay::unix::ltmain.sh new file mode 100644 index 0000000..8136ce5 --- /dev/null +++ b/audio/libsidplay2/files/patch-libsidplay::unix::ltmain.sh @@ -0,0 +1,42 @@ +--- libsidplay/unix/ltmain.sh.orig Tue Dec 24 05:38:47 2002 ++++ libsidplay/unix/ltmain.sh Wed Jan 22 04:51:36 2003 +@@ -1221,7 +1221,7 @@ + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # OpenBSD uses either libc or libc_r. + continue + ;; +@@ -1233,7 +1233,7 @@ + fi + if test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -2814,7 +2814,7 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # OpenBSD uses either libc or libc_r. + ;; + *) +@@ -4672,10 +4672,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/audio/libsidplay2/files/patch-libsidutils::unix::ltmain.sh b/audio/libsidplay2/files/patch-libsidutils::unix::ltmain.sh new file mode 100644 index 0000000..fd66de2 --- /dev/null +++ b/audio/libsidplay2/files/patch-libsidutils::unix::ltmain.sh @@ -0,0 +1,42 @@ +--- libsidutils/unix/ltmain.sh.orig Tue Dec 24 05:38:47 2002 ++++ libsidutils/unix/ltmain.sh Wed Jan 22 04:51:36 2003 +@@ -1221,7 +1221,7 @@ + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # OpenBSD uses either libc or libc_r. + continue + ;; +@@ -1233,7 +1233,7 @@ + fi + if test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -2814,7 +2814,7 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # OpenBSD uses either libc or libc_r. + ;; + *) +@@ -4672,10 +4672,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/audio/libsidplay2/files/patch-src-player.cpp b/audio/libsidplay2/files/patch-src-player.cpp deleted file mode 100644 index 77b0365..0000000 --- a/audio/libsidplay2/files/patch-src-player.cpp +++ /dev/null @@ -1,73 +0,0 @@ ---- src/player.cpp.orig Mon May 7 17:09:39 2001 -+++ src/player.cpp Sun Oct 6 20:53:45 2002 -@@ -580,34 +580,49 @@ - int player::loadFilter (const sid_fc_t *cutoffs, uint_least16_t points) - { - #ifndef HAVE_HARDSID -- fc_point fc[0x800]; -- -- // Make sure there are enough filter points and they are legal -- if ((points < 2) || (points > 0x800)) -- goto player_loadFilter_error; -+ fc_point fc[0x802]; -+ const fc_point *f0 = fc; -+ int pnts = 0; - -+ if (cutoffs == NULL) -+ { // Select default filter -+ sid.fc_default (f0, pnts); -+ sid2.fc_default (f0, pnts); -+ } -+ else - { -- const sid_fc_t *val, *valp, vals = {-1, 0}; -- // Last check, make sure they are list in numerical order -- // for both axis -- val = &vals; // (start) -- for (int i = 0; i < points; i++) -+ pnts = points; -+ // Make sure there are enough filter points and they are legal -+ if ((pnts < 2) || (pnts > 0x800)) -+ goto player_loadFilter_error; -+ - { -- valp = val; -- val = &cutoffs[i]; -- if ((*valp)[0] > (*val)[0]) -- goto player_loadFilter_error; --// if ((*valp)[1] >= (*val)[1]) --// goto player_loadFilter_error; -- fc[i][0] = (sound_sample) (*val)[0]; -- fc[i][1] = (sound_sample) (*val)[1]; -+ const sid_fc_t fstart = {-1, 0}; -+ const sid_fc_t *fprev = &fstart, *fin = cutoffs; -+ fc_point *fout = fc; -+ // Last check, make sure they are list in numerical order -+ // for both axis -+ while (pnts-- > 0) -+ { -+ if ((*fprev)[0] >= (*fin)[0]) -+ goto player_loadFilter_error; -+ fout++; -+ (*fout)[0] = (sound_sample) (*fin)[0]; -+ (*fout)[1] = (sound_sample) (*fin)[1]; -+ fprev = fin++; -+ } -+ // Updated ReSID interpolate requires we -+ // repeat the end pnts -+ *(fout+1) = *fout; -+ fc[0] = fc[1]; -+ pnts = points + 2; - } - } - - // function from reSID -- points--; -- interpolate (fc, fc, fc + points, fc + points, sid.fc_plotter (), 1.0); -- interpolate (fc, fc, fc + points, fc + points, sid2.fc_plotter(), 1.0); -+ pnts--; -+ interpolate (f0, f0 + pnts, sid.fc_plotter (), 1.0); -+ interpolate (f0, f0 + pnts, sid2.fc_plotter (), 1.0); - return 0; - - player_loadFilter_error: diff --git a/audio/libsidplay2/files/patch-unix::ltmain.sh b/audio/libsidplay2/files/patch-unix::ltmain.sh new file mode 100644 index 0000000..aff50ed --- /dev/null +++ b/audio/libsidplay2/files/patch-unix::ltmain.sh @@ -0,0 +1,42 @@ +--- unix/ltmain.sh.orig Tue Dec 24 05:38:47 2002 ++++ unix/ltmain.sh Wed Jan 22 04:51:36 2003 +@@ -1221,7 +1221,7 @@ + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # OpenBSD uses either libc or libc_r. + continue + ;; +@@ -1233,7 +1233,7 @@ + fi + if test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -2814,7 +2814,7 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # OpenBSD uses either libc or libc_r. + ;; + *) +@@ -4672,10 +4672,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" |