Package: gnat-gps Version: 2.1.0-4 Severity: serious Tags: patch gnat-gps fails to build because it contains conflicting declarations of html_cluealigned_class:
> i486-linux-gnu-gcc -c -O3 -DSYSTEM_INCLUDE="system/gnu-linux.h" > -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" > -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 > -DHAVE_GNU_REGEX=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STROPTS_H=1 -DHAVE_GETPT=1 > -DHAVE_SETPGID=1 -DHAVE_SETSID=1 -DSYSTEM_INCLUDE="system/gnu-linux.h" > -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" > -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 > -DHAVE_GNU_REGEX=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STROPTS_H=1 -DHAVE_GETPT=1 > -DHAVE_SETPGID=1 -DHAVE_SETSID=1 > /tmp/buildd/gnat-gps-2.1.0/widgets/cschtml/htmlcluealigned.c -o > /tmp/buildd/gnat-gps-2.1.0/widgets/obj/htmlcluealigned.o > /tmp/buildd/gnat-gps-2.1.0/widgets/cschtml/htmlcluealigned.c:28: error: > static declaration of 'html_cluealigned_class' follows non-static declaration > /tmp/buildd/gnat-gps-2.1.0/widgets/cschtml/htmlcluealigned.h:44: error: > previous declaration of 'html_cluealigned_class' was here The attached patch makes it non-static in both cases. -- Matt
only in patch2: unchanged: --- gnat-gps-2.1.0.orig/widgets/cschtml/htmlcluealigned.c +++ gnat-gps-2.1.0/widgets/cschtml/htmlcluealigned.c @@ -25,7 +25,7 @@ #define ALIGN_BORDER 0 -static HTMLClueAlignedClass html_cluealigned_class; +HTMLClueAlignedClass html_cluealigned_class; static HTMLClueClass *parent_class = NULL;
signature.asc
Description: Digital signature