Update 2.051 --> 2.052.
This commit is contained in:
parent
dd3ba2e2ba
commit
1fa2f8be00
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270163
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= dmd
|
||||
PKGNAMESUFFIX= 2
|
||||
PORTVERSION= 2.051
|
||||
PORTVERSION= 2.052
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= http://ftp.digitalmars.com/
|
||||
DISTNAME= dmd.${PORTVERSION}
|
||||
@ -72,7 +72,7 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKDIR}/dmd2/linux/bin/dmd.conf ${PREFIX}/etc/dmd2.conf
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/dmd ${PREFIX}/bin/dmd2
|
||||
${INSTALL_DATA} ${WRKSRC}/../phobos/generated/freebsd/release/libphobos2.a ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/../phobos/generated/freebsd/release/32/libphobos2.a ${PREFIX}/lib
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/dmd2/linux/bin/dmd.conf ${EXAMPLESDIR}/dmd2.conf
|
||||
cd ${WRKDIR}/dmd2 && ${COPYTREE_SHARE} samples ${EXAMPLESDIR}
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (dmd.2.051.zip) = 7540a3763c82e98dc3ca30e3b2ffb09ae06d4b7f45a8d9ac6bf43a76dc6c68a2
|
||||
SIZE (dmd.2.051.zip) = 10747172
|
||||
SHA256 (dmd.2.052.zip) = decd1fa193dd8f60cb41b4b7f887a761a766c557b0568d24b15aadc08d0f6742
|
||||
SIZE (dmd.2.052.zip) = 12669839
|
||||
|
@ -1,80 +0,0 @@
|
||||
--- /dev/null
|
||||
+++ ../phobos/std/c/freebsd/socket.d
|
||||
@@ -0,0 +1,77 @@
|
||||
+// Written in the D programming language.
|
||||
+
|
||||
+/*
|
||||
+ * This module is just for making std.socket work under FreeBSD, and these
|
||||
+ * definitions should actually be in druntime. (core.sys.posix.netdb or sth)
|
||||
+ */
|
||||
+module std.c.freebsd.socket;
|
||||
+
|
||||
+import core.sys.posix.sys.socket;
|
||||
+
|
||||
+extern(C):
|
||||
+
|
||||
+enum // <sys/socket.h> __BSD_VISIBLE
|
||||
+{
|
||||
+ AF_APPLETALK = 16,
|
||||
+ AF_IPX = 23,
|
||||
+}
|
||||
+
|
||||
+enum // <sys/socket.h> __BSD_VISIBLE
|
||||
+{
|
||||
+ SOCK_RDM = 4,
|
||||
+}
|
||||
+
|
||||
+enum // <sys/socket.h> __BSD_VISIBLE
|
||||
+{
|
||||
+ MSG_NOSIGNAL = 0x20000,
|
||||
+}
|
||||
+
|
||||
+enum // <netinet/in.h> __BSD_VISIBLE
|
||||
+{
|
||||
+ IPPROTO_IGMP = 2,
|
||||
+ IPPROTO_GGP = 3,
|
||||
+ IPPROTO_PUP = 12,
|
||||
+ IPPROTO_IDP = 22,
|
||||
+ IPPROTO_ND = 77,
|
||||
+ IPPROTO_MAX = 256,
|
||||
+}
|
||||
+
|
||||
+enum // <netinet/in.h>
|
||||
+{
|
||||
+ INADDR_LOOPBACK = 0x7f000001,
|
||||
+ INADDR_NONE = 0xffffffff,
|
||||
+}
|
||||
+
|
||||
+
|
||||
+/*========== <netdb.h> ==========*/
|
||||
+
|
||||
+struct hostent
|
||||
+{
|
||||
+ char* h_name;
|
||||
+ char** h_aliases;
|
||||
+ int h_addrtype;
|
||||
+ int h_length;
|
||||
+ char** h_addr_list;
|
||||
+}
|
||||
+
|
||||
+struct servent
|
||||
+{
|
||||
+ char* s_name;
|
||||
+ char** s_aliases;
|
||||
+ int s_port;
|
||||
+ char* s_proto;
|
||||
+}
|
||||
+
|
||||
+struct protoent
|
||||
+{
|
||||
+ char* p_name;
|
||||
+ char** p_aliases;
|
||||
+ int p_proto;
|
||||
+}
|
||||
+
|
||||
+hostent* gethostbyaddr(in void*, socklen_t, int); // obsolete
|
||||
+hostent* gethostbyname(in char*); // obsolete
|
||||
+protoent* getprotobyname(in char *);
|
||||
+protoent* getprotobynumber(int);
|
||||
+servent* getservbyname(in char*, in char*);
|
||||
+servent* getservbyport(int, in char*);
|
@ -122,7 +122,6 @@ include/d/phobos2/std/bitmanip.d
|
||||
include/d/phobos2/std/boxer.d
|
||||
include/d/phobos2/std/c/fenv.d
|
||||
include/d/phobos2/std/c/freebsd/socket.d
|
||||
include/d/phobos2/std/c/freebsd/socket.d.orig
|
||||
include/d/phobos2/std/c/linux/linux.d
|
||||
include/d/phobos2/std/c/linux/pthread.d
|
||||
include/d/phobos2/std/c/linux/socket.d
|
||||
|
Loading…
Reference in New Issue
Block a user