pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46318: net/wminet does not build on DragonFly



>Number:         46318
>Category:       pkg
>Synopsis:       net/wminet does not build on DragonFly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 09 19:50:00 +0000 2012
>Originator:     Francois Tigeot
>Release:        DragonFly
>Organization:
>Environment:
DragonFly sekishi.zefyris.com 3.1-DEVELOPMENT DragonFly 
v3.1.0.438.g1e741-DEVELOPMENT #35: Tue Apr  3 23:21:58 CEST 2012     
root%sekishi.zefyris.com@localhost:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64
>Description:
net/wminet fails to build due to a missing struct ifnet definition
>How-To-Repeat:
try to build net/wminet from pkgsrc-2012Q1 on a DragonFly system
>Fix:
if.c has to be modified, and _KERNEL_STRUCTURES defined just before
the inclusion of <net/if_var.h> :

 #if defined(__DragonFly__) || (defined(__FreeBSD_version) && __FreeBSD_version 
>= 300003)
+    #if defined(__DragonFly__)
+        #define _KERNEL_STRUCTURES
+    #endif
 #include <net/if_var.h>



Home | Main Index | Thread Index | Old Index