Your message dated Tue, 22 May 2007 10:38:19 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#404120: [Pkg-xfce-devel] Bug#404120: xfce4-wavelan-plugin: 
FTBFS on GNU/kFreeBSD
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xfce4-wavelan-plugin
Severity: important
Version: 0.5.3-1
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small porting, see attached patch.

It would also be nice if you can ask upstream
to include this changes.

Thanks in advance

                        Petr
--- panel-plugin/wi_bsd.c.STD   2006-12-21 21:25:27.000000000 +0100
+++ panel-plugin/wi_bsd.c       2006-12-21 21:39:23.000000000 +0100
@@ -24,7 +24,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) 
|| defined(__OpenBSD__) 
 
 #include <sys/types.h>
 #include <sys/cdefs.h>
@@ -35,7 +35,7 @@
 
 #include <net/if.h>
 #include <net/if_media.h>
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #include <net/if_var.h>
 #include <net/ethernet.h>
 
@@ -62,6 +62,22 @@
 #endif
 #endif
 
+#if defined(__GLIBC__)
+
+#define  strlcpy(dst, src, size) g_strlcpy(dst, src, size)
+
+#include <byteswap.h>
+#include <endian.h>
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+#define le16toh(x)      ((uint16_t)(x))
+#elif __BYTE_ORDER == __BIG_ENDIAN
+#define le16toh(x)      bswap16((x))
+#else
+#error unknown ENDIAN
+#endif
+
+#endif /* __GLIBC__ */
+
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>

--- End Message ---
--- Begin Message ---
Version: 0.5.4-1

On Thu, Dec 21, 2006 at 09:40:06PM +0000, James Westby wrote:
> On (21/12/06 21:11), Petr Salinger wrote:
> Thanks for the patch I have just committed it upstream.
> Either way I guess that you can expect a fixed version to be uploaded
> to Debian soon after etch (though I can't speak for the pkg-xfce
> team).

This happened a while ago and it finally built on kfreebsd-i386 on the
18th.

See
http://www.buildd.net/cgi/package_status?unstable_pkg=xfce4-wavelan-plugin&searchtype=kfreebsd-i386&arch=kfreebsd-i386

So I'm closing this report now.

Simon.

-- 
oOoOo Open source is about letting go of complete control. Accept  oOoOo
 oOoOo   the fact that other people are wonderful resources to    oOoOo
  oOoOo fixing problems, and let them help you. - Linus Torvalds oOoOo

--- End Message ---
_______________________________________________
Pkg-xfce-devel mailing list
Pkg-xfce-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel

Reply via email to