From: Stephen Walker Date: Fri, 17 Feb 2012 04:00:16 +0000 (+0000) Subject: pianobar: force the lib symlinks X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7a713d521354ccb85a33c49e7a78e65ddafd3ad6;p=openwrt%2Fsvn-archive%2Fpackages.git pianobar: force the lib symlinks SVN-Revision: 30609 --- 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}/