pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/tcd tcd: fix build on Linux



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f383251c1120
branches:  trunk
changeset: 413193:f383251c1120
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Mar 16 14:08:46 2020 +0000

description:
tcd: fix build on Linux

diffstat:

 audio/tcd/distinfo                |   3 ++-
 audio/tcd/patches/patch-configure |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 86e7a3ca102e -r f383251c1120 audio/tcd/distinfo
--- a/audio/tcd/distinfo        Mon Mar 16 14:00:58 2020 +0000
+++ b/audio/tcd/distinfo        Mon Mar 16 14:08:46 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 01:12:52 agc Exp $
+$NetBSD: distinfo,v 1.3 2020/03/16 14:08:46 tnn Exp $
 
 SHA1 (tcd-2.2.0.tar.bz2) = 8ad1b9201d94554fe4d96b60da1cab577eae77cf
 RMD160 (tcd-2.2.0.tar.bz2) = f00702cfe496f85248534e155dc1d58ae88213b5
 SHA512 (tcd-2.2.0.tar.bz2) = d32f940afd6f53ae8c8754298fd872c0577c9caf8ffba46938e4019f5672fc112d5a48686e836269a08f2aec801dcac435a1da3fc1557a1af66d584337df011b
 Size (tcd-2.2.0.tar.bz2) = 90157 bytes
+SHA1 (patch-configure) = 00b65d1bf18e9399afe1da2484daa1435a898fd6
diff -r 86e7a3ca102e -r f383251c1120 audio/tcd/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/tcd/patches/patch-configure Mon Mar 16 14:08:46 2020 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-configure,v 1.1 2020/03/16 14:08:46 tnn Exp $
+
+make -lSDL go in $LIBS instead of $LDFLAGS.
+Fixes build on Linux due $LIBS appearing later on the command
+line, appeasing link editor search order.
+
+--- configure.orig     2004-06-15 23:09:04.000000000 +0000
++++ configure
+@@ -3000,7 +3000,7 @@ echo "$as_me: error: sdl is too old (ver
+ 
+ 
+ CPPFLAGS="$CPPFLAGS $SDL_CPPFLAGS"
+-LDFLAGS="$LDFLAGS $SDL_LDFLAGS"
++LIBS="$LIBS $SDL_LDFLAGS"
+ 
+ 
+ 



Home | Main Index | Thread Index | Old Index