When you emerge gtkhtml-1.1.10 while using GCC 3.4 you get the following error message: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DGNOMEDATADIR=\""/usr/share"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -I../../src -I. -I. -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/libcapplet1 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/freetype2 -I/usr/include/gnome-xml -I/usr/include/gal-1.0 -I/usr/include/libglade-1.0 -I/usr/include -I/usr/include/orbit-1.0 -DGLADE_DATADIR=\"/usr/share/gtkhtml-1.1/\" -mtune=athlon-xp -march=athlon-xp -O3 -fomit-frame-pointer -pipe -ftracer -Wall -Wunused -I/usr/include/gconf/1 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -DGTKHTML_HAVE_GCONF -DICONDIR=\"/usr/share/gtkhtml-1.1//icons\" -c popup.c popup.c: In function `prepare_properties_and_menu': popup.c:499: error: label at end of compound statement make[3]: *** [popup.o] Error 1 make[3]: *** Waiting for unfinished jobs.... Reproducible: Always Steps to Reproduce: 1. Ensure you are using gcc 3.4 2. emerge gtkhtml 3. Actual Results: The above error message Expected Results: Should have compiled
Created attachment 32019 [details, diff] 1 line patch to fix compile error Putting a break; after the default: label fixes the error.
adding ebuild patch to patch ebuild to include epatch of popup.patch (which i took the liberty to call your patch) your patch allows gtkhtml to merge with gcc-3.4.0 on x86
Created attachment 32753 [details, diff] adds epatch line to ebuild uses popup.patch as filename for the patch by original poster
Created attachment 38088 [details, diff] corrected version of patch for ebuild Previous one was not correct, without "inherit eutils"
Fixed in portage.