Package: connect.app Severity: important Tags: patch Hi Gürkan!
I wasn't sure about the right way to tag this bugreport, that's why I used a quite long subject at last. Currently your package FTBFS on GNU/kFreeBSD with the following error: > Compiling file AppIcon.m ... > AppIcon.m: In function 'get_ppp_stats': > AppIcon.m:44: error: 'struct ifpppstatsreq' has no member named 'stats_ptr' > AppIcon.m:46: error: 'struct ifpppstatsreq' has no member named 'ifr__name' > AppIcon.m:48: error: expected expression before 'struct' > AppIcon.m: At top level: > AppIcon.m:115: warning: method possibly missing a [super dealloc] call > make[2]: *** [shared_obj/AppIcon.o] Error 1 Full build logs are available at <http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=connect.app>. The attached patch allows a successful build but is only a workaround until someone (maybe I'll be able to be that one) propose a proper fix. You might want to apply this fix w/o closing this bugreport, so that GNU/kFreeBSD can at least try this package as is. Cheers, -- Cyril
--- connect.app-0.1/AppIcon.m 2007-03-11 01:36:31.551417000 +0100 +++ connect.app-0.1/AppIcon.m 2007-03-11 01:36:35.000000000 +0100 @@ -37,6 +37,17 @@ void get_ppp_stats (struct ppp_stats *cur) { +#if defined(__FreeBSD_kernel__) + cur = 0; + + /* Disabled at the moment. On GNU/kFreeBSD: + * struct ifpppstatsreq { + * char ifr_name[IFNAMSIZ]; + * struct ppp_stats stats; + * }; + */ + +#else struct ifpppstatsreq req; memset (&req, 0, sizeof(req)); @@ -49,6 +60,7 @@ { *cur = req.stats; } +#endif } int