aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-04-23 20:35:15 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-04-23 20:35:15 +0000
commit3ae7205d50f25f5e5a6941463ab7026e87e718b3 (patch)
treeede3a4e6f67a94b0c60f9997d2d548dcf36076c1 /devel
parentb6c2d9450ce084e615646653cb257f0892de56f3 (diff)
downloadports-3ae7205d50f25f5e5a6941463ab7026e87e718b3.tar.gz
ports-3ae7205d50f25f5e5a6941463ab7026e87e718b3.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/ace/Makefile6
-rw-r--r--devel/ace/distinfo6
-rw-r--r--devel/ace/files/extra-ace-OS_NS_netdb.inl47
3 files changed, 55 insertions, 4 deletions
diff --git a/devel/ace/Makefile b/devel/ace/Makefile
index 350ba6ad3c2c..037aedafac61 100644
--- a/devel/ace/Makefile
+++ b/devel/ace/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ace
-PORTVERSION= 5.5
+PORTVERSION= 5.5.1
CATEGORIES= devel
MASTER_SITES= ftp://deuce.doc.wustl.edu/pub/previous_versions/ \
http://deuce.doc.wustl.edu/old_distribution/ \
@@ -39,6 +39,10 @@ MAN1= ace-gperf.1
BROKEN= does not support
.endif
+.if ${OSVERSION} > 700015
+EXTRA_PATCHES= extra-ace-OS_NS_netdb.inl
+.endif
+
post-extract:
@${MKDIR} ${BUILD_WRKSRC}
diff --git a/devel/ace/distinfo b/devel/ace/distinfo
index 0df74e38d6c3..4634def477af 100644
--- a/devel/ace/distinfo
+++ b/devel/ace/distinfo
@@ -1,3 +1,3 @@
-MD5 (ACE-5.5.tar.bz2) = 23b8278b50b43ed9b6fa096a65436878
-SHA256 (ACE-5.5.tar.bz2) = 174f665d96edd8af2b38123e0c94039f8f429ecee99d9cb761afde1a082f5ddd
-SIZE (ACE-5.5.tar.bz2) = 7595626
+MD5 (ACE-5.5.1.tar.bz2) = 66ae315bb487f54dd717bfa7a0bfb924
+SHA256 (ACE-5.5.1.tar.bz2) = e72841a686c4d1b795fb4706f3a3acdae54087547f39fa79ec08225b8fbf6071
+SIZE (ACE-5.5.1.tar.bz2) = 7668877
diff --git a/devel/ace/files/extra-ace-OS_NS_netdb.inl b/devel/ace/files/extra-ace-OS_NS_netdb.inl
new file mode 100644
index 000000000000..b8908a208c75
--- /dev/null
+++ b/devel/ace/files/extra-ace-OS_NS_netdb.inl
@@ -0,0 +1,47 @@
+--- ace/OS_NS_netdb.inl.orig Sun Apr 23 23:34:14 2006
++++ ace/OS_NS_netdb.inl Sun Apr 23 23:39:33 2006
+@@ -101,7 +101,7 @@
+ *h_errnop = h_errno;
+ return (struct hostent *) 0;
+ }
+-# elif defined (__GLIBC__)
++# elif defined (__GLIBC__) || defined (__FreeBSD__)
+ // GNU C library has a different signature
+ ACE_OS::memset (buffer, 0, sizeof (ACE_HOSTENT_DATA));
+
+@@ -211,7 +211,7 @@
+ *h_errnop = h_errno;
+ return (struct hostent *) 0;
+ }
+-# elif defined (__GLIBC__)
++# elif defined (__GLIBC__) || defined (__FreeBSD__)
+ // GNU C library has a different signature
+ ACE_OS::memset (buffer, 0, sizeof (ACE_HOSTENT_DATA));
+
+@@ -360,7 +360,7 @@
+ return result;
+ else
+ return 0;
+-# elif defined (__GLIBC__)
++# elif defined (__GLIBC__) || defined (__FreeBSD__)
+ // GNU C library has a different signature
+ if (::getprotobyname_r (name,
+ result,
+@@ -427,7 +427,7 @@
+ return result;
+ else
+ return 0;
+-# elif defined (__GLIBC__)
++# elif defined (__GLIBC__) || (__FreeBSD__)
+ // GNU C library has a different signature
+ if (::getprotobynumber_r (proto,
+ result,
+@@ -499,7 +499,7 @@
+ return result;
+ else
+ return (struct servent *) 0;
+-# elif defined (__GLIBC__)
++# elif defined (__GLIBC__) || defined (__FreeBSD__)
+ // GNU C library has a different signature
+ ACE_OS::memset (buf, 0, sizeof (ACE_SERVENT_DATA));
+