[Glibc-bsd-commits] r4876 - in trunk/freebsd-glue: debian include/net src

Robert Millan rmh at alioth.debian.org
Tue Aug 6 16:14:28 UTC 2013


Author: rmh
Date: 2013-08-06 16:14:28 +0000 (Tue, 06 Aug 2013)
New Revision: 4876

Modified:
   trunk/freebsd-glue/debian/changelog
   trunk/freebsd-glue/include/net/if_dl.h
   trunk/freebsd-glue/src/Makefile
Log:
linkaddr.c is kFreeBSD-specific.

Modified: trunk/freebsd-glue/debian/changelog
===================================================================
--- trunk/freebsd-glue/debian/changelog	2013-08-06 15:23:38 UTC (rev 4875)
+++ trunk/freebsd-glue/debian/changelog	2013-08-06 16:14:28 UTC (rev 4876)
@@ -1,3 +1,9 @@
+freebsd-glue (0.1.3) unstable; urgency=low
+
+  * linkaddr.c is kFreeBSD-specific.
+
+ -- Robert Millan <rmh at debian.org>  Tue, 06 Aug 2013 18:14:14 +0200
+
 freebsd-glue (0.1.2) unstable; urgency=low
 
   * Add <sys/_stdint.h> to fix buildability of <libutil.h>.

Modified: trunk/freebsd-glue/include/net/if_dl.h
===================================================================
--- trunk/freebsd-glue/include/net/if_dl.h	2013-08-06 15:23:38 UTC (rev 4875)
+++ trunk/freebsd-glue/include/net/if_dl.h	2013-08-06 16:14:28 UTC (rev 4876)
@@ -1,6 +1,7 @@
 #include_next <net/if_dl.h>
 
-#ifdef __FreeBSD_kernel__
+#ifndef _FREEBSD_NET_IF_DL_H_
+#define _FREEBSD_NET_IF_DL_H_
 
 __BEGIN_DECLS
 void	link_addr(const char *, struct sockaddr_dl *);

Modified: trunk/freebsd-glue/src/Makefile
===================================================================
--- trunk/freebsd-glue/src/Makefile	2013-08-06 15:23:38 UTC (rev 4875)
+++ trunk/freebsd-glue/src/Makefile	2013-08-06 16:14:28 UTC (rev 4876)
@@ -4,13 +4,13 @@
 	feature_present.c \
 	getosreldate.c \
 	trimdomain.c \
-	linkaddr.c \
 	${NULL}
 
 SYS!=	dpkg-architecture -qDEB_HOST_GNU_SYSTEM
 
 .if ${SYS} == "kfreebsd-gnu"
 SRCS+=	\
+	linkaddr.c \
 	${NULL}
 .endif
 




More information about the Glibc-bsd-commits mailing list