add patch to Workaround install target in Makefile
authorReinhard Tartler <siretart@tauware.de>
Wed, 30 Jan 2019 02:46:35 +0000 (21:46 -0500)
committerReinhard Tartler <siretart@tauware.de>
Wed, 30 Jan 2019 02:46:35 +0000 (21:46 -0500)
the Makefile in the new upstream version no longer ignores errors like
the previous version.

debian/patches/fix_makefile_install.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/fix_makefile_install.patch b/debian/patches/fix_makefile_install.patch
new file mode 100644 (file)
index 0000000..364369e
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -149,7 +149,7 @@ endif
+       $(INSTALL) $(INSTFLAGS) -m 644 $(SRC_PATH)/gui/gui.bt "$(DESTDIR)$(prefix)/share/gpac/gui/" 
+       $(INSTALL) $(INSTFLAGS) -m 644 $(SRC_PATH)/gui/gui.js "$(DESTDIR)$(prefix)/share/gpac/gui/" 
+       $(INSTALL) $(INSTFLAGS) -m 644 $(SRC_PATH)/gui/gwlib.js "$(DESTDIR)$(prefix)/share/gpac/gui/" 
+-      $(INSTALL) $(INSTFLAGS) -m 644 $(SRC_PATH)/gui/mpegu-core.js "$(DESTDIR)$(prefix)/share/gpac/gui/"
++      -$(INSTALL) $(INSTFLAGS) -m 644 $(SRC_PATH)/gui/mpegu-core.js "$(DESTDIR)$(prefix)/share/gpac/gui/"
+       $(INSTALL) $(INSTFLAGS) -m 644 $(SRC_PATH)/gui/webvtt-renderer.js "$(DESTDIR)$(prefix)/share/gpac/gui/"
+       $(INSTALL) -d "$(DESTDIR)$(prefix)/share/gpac/gui/icons"
+       $(INSTALL) -d "$(DESTDIR)$(prefix)/share/gpac/gui/extensions"
index 21c9e3fe8e2bd078b9a7e0bae8b49667e9ca9b2f..4781a2c4fbff43cd52e246156b688072f8c91a3a 100644 (file)
@@ -5,3 +5,4 @@ dont-err-build-on-uknown-system.patch
 #skip-swf-test.patch
 #ffmpeg_2.9.patch
 ffmpeg_4.patch
+fix_makefile_install.patch