File vapoursynth-version.patch of Package vapoursynth

From: Jan Engelhardt <jengelh@inai.de>
Date: 2017-11-27 11:48:50.430107020 +0100

"-avoid-version" is only allowed with "-module" in SUSE, or
when no headers are installed for it (which also is not the case).
Add versioning.

---
 Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: vapoursynth-R43/Makefile.am
===================================================================
--- vapoursynth-R43.orig/Makefile.am
+++ vapoursynth-R43/Makefile.am
@@ -82,7 +82,7 @@ noinst_HEADERS = include/asm/x86/x86inc.
 
 pkgconfig_DATA += pc/vapoursynth.pc
 
-libvapoursynth_la_LDFLAGS = -no-undefined -avoid-version
+libvapoursynth_la_LDFLAGS = -no-undefined -release $(PACKAGE_VERSION)
 libvapoursynth_la_CPPFLAGS = $(ZIMG_CFLAGS) -DVS_PATH_PLUGINDIR='"$(PLUGINDIR)"'
 libvapoursynth_la_LIBADD = $(ZIMG_LIBS) $(DLOPENLIB)
 
openSUSE Build Service is sponsored by