contrib: sidplay2: fix ln -s not working on msys2
authorSteve Lhomme <robux4@ycbcr.xyz>
Thu, 17 May 2018 11:59:02 +0000 (13:59 +0200)
committerSteve Lhomme <robux4@ycbcr.xyz>
Thu, 17 May 2018 13:24:52 +0000 (15:24 +0200)
contrib/src/sidplay2/rules.mak
contrib/src/sidplay2/sidplay-fix-ln-s.patch [new file with mode: 0644]

index 9888313..319f770 100644 (file)
@@ -23,6 +23,7 @@ sidplay-libs: sidplay-libs-$(SID_VERSION).tar.gz .sum-sidplay2
        $(APPLY) $(SRC)/sidplay2/sidplay2-smartprt.patch
        $(APPLY) $(SRC)/sidplay2/sidplay2-noutils.patch
        $(APPLY) $(SRC)/sidplay2/sidplay2-string.patch
+       $(APPLY) $(SRC)/sidplay2/sidplay-fix-ln-s.patch
        $(MOVE)
 
 .sidplay2: sidplay-libs
diff --git a/contrib/src/sidplay2/sidplay-fix-ln-s.patch b/contrib/src/sidplay2/sidplay-fix-ln-s.patch
new file mode 100644 (file)
index 0000000..8880988
--- /dev/null
@@ -0,0 +1,11 @@
+--- sidplay-libs/resid/Makefile.am.ln_s        2018-05-17 13:44:08.814450800 +0200
++++ sidplay-libs/resid/Makefile.am     2018-05-17 13:44:24.333008200 +0200
+@@ -11,7 +11,7 @@ noinst_LTLIBRARIES = libresidc.la
+ noinst_HEADERS = $(resid_headers)
+ all-local:
+-      ln -sf libresidc.la libresid.la
++      $(LN_S)f libresidc.la libresid.la
+ endif