From b5a8cb98205efdda28d55d40478ff42f2181347b Mon Sep 17 00:00:00 2001 From: swalker Date: Fri, 17 Feb 2012 04:00:16 +0000 Subject: [PATCH] [packages] pianobar: force the lib symlinks git-svn-id: svn://svn.openwrt.org/openwrt/packages@30609 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../pianobar/patches/002-force-symlinks.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sound/pianobar/patches/002-force-symlinks.patch diff --git a/sound/pianobar/patches/002-force-symlinks.patch b/sound/pianobar/patches/002-force-symlinks.patch new file mode 100644 index 000000000..cacaa4929 --- /dev/null +++ b/sound/pianobar/patches/002-force-symlinks.patch @@ -0,0 +1,24 @@ +--- a/Makefile ++++ b/Makefile +@@ -108,8 +108,8 @@ libpiano.so.0: ${LIBPIANO_RELOBJ} ${LIBP + ${CC} -shared -Wl,-soname,libpiano.so.0 ${CFLAGS} ${LDFLAGS} ${LIBGNUTLS_LDFLAGS} \ + -o libpiano.so.0.0.0 ${LIBPIANO_RELOBJ} \ + ${LIBWAITRESS_RELOBJ} ${LIBEZXML_RELOBJ} +- ln -s libpiano.so.0.0.0 libpiano.so.0 +- ln -s libpiano.so.0 libpiano.so ++ ln -sf libpiano.so.0.0.0 libpiano.so.0 ++ ln -sf libpiano.so.0 libpiano.so + ${AR} rcs libpiano.a ${LIBPIANO_OBJ} ${LIBWAITRESS_OBJ} ${LIBEZXML_OBJ} + + %.o: %.c +@@ -177,8 +177,8 @@ endif + install-libpiano: + install -d ${DESTDIR}/${LIBDIR}/ + install -m644 libpiano.so.0.0.0 ${DESTDIR}/${LIBDIR}/ +- ln -s libpiano.so.0.0.0 ${DESTDIR}/${LIBDIR}/libpiano.so.0 +- ln -s libpiano.so.0 ${DESTDIR}/${LIBDIR}/libpiano.so ++ ln -sf libpiano.so.0.0.0 ${DESTDIR}/${LIBDIR}/libpiano.so.0 ++ ln -sf libpiano.so.0 ${DESTDIR}/${LIBDIR}/libpiano.so + install -m644 libpiano.a ${DESTDIR}/${LIBDIR}/ + install -d ${DESTDIR}/${INCDIR}/ + install -m644 src/libpiano/piano.h ${DESTDIR}/${INCDIR}/