Control: tags -1 patch fixed-upstream

On Thu, 2015-02-12 at 10:34 +0000, Matthias Klose wrote:
> The package fails to build in a test rebuild on at least amd64 with
> gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
> severity of this report may be raised before the stretch release.
[...]
> saveplay.o: In function `save_file':
> /«PKGBUILDDIR»/src/saveplay.c:1498: undefined reference to 
> `count_virtual_frames'
> /«PKGBUILDDIR»/src/saveplay.c:1663: undefined reference to 
> `count_virtual_frames'
> /«PKGBUILDDIR»/src/saveplay.c:1743: undefined reference to 
> `count_virtual_frames'
> saveplay.o: In function `backup_file':
> /«PKGBUILDDIR»/src/saveplay.c:3979: undefined reference to 
> `count_virtual_frames'
> callbacks.o: In function `on_paste_as_new_activate':
> /«PKGBUILDDIR»/src/callbacks.c:2639: undefined reference to 
> `count_virtual_frames'
> callbacks.o:/«PKGBUILDDIR»/src/callbacks.c:5534: more undefined references to 
> `count_virtual_frames' follow
> collect2: error: ld returned 1 exit status

This was fixed upstream here:
http://sourceforge.net/p/lives/code/2241/

Thanks,
James
Description: Add patch to fix FTBFS with GCC 5
Author: G. Finch <salsa...@gmail.com>
Bug-Debian: http://bugs.debian.org/777984
Applied-Upstream: http://sourceforge.net/p/lives/code/2241/
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/cvirtual.c
+++ b/src/cvirtual.c
@@ -19,7 +19,7 @@
 
 
 /** count virtual frames between start and end (inclusive) */
-LIVES_INLINE int count_virtual_frames(int *findex, int start, int end) {
+int count_virtual_frames(int *findex, int start, int end) {
   register int i;
   int count=0;
   for (i=start-1; i<end; i++) if (findex[i]!=-1) count++;

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to