mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Update to PowerDNS Authoritative Server 5.1.1
While there, fix build on sparc64 (also upstreamed)
This commit is contained in:
@@ -3,7 +3,7 @@ COMMENT-mysql= MySQL database access module for PowerDNS
|
||||
COMMENT-pgsql= PostgreSQL database access module for PowerDNS
|
||||
COMMENT-ldap= LDAP database access module for PowerDNS
|
||||
|
||||
V= 5.1.0
|
||||
V= 5.1.1
|
||||
DISTNAME= pdns-${V}
|
||||
EXTRACT_SUFX = .tar.bz2
|
||||
PKGNAME-main= powerdns-${V}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (pdns-5.1.0.tar.bz2) = KcQECwn7Z3DayGS3PZhiItn92sGx0J38HOTAMOv/vhU=
|
||||
SIZE (pdns-5.1.0.tar.bz2) = 1564552
|
||||
SHA256 (pdns-5.1.1.tar.bz2) = CJN5Vc5ES7sKq/32pfGNSD3ViT12FTmBG+F6m2zzO2o=
|
||||
SIZE (pdns-5.1.1.tar.bz2) = 1530406
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
Index: ext/protozero/include/protozero/config.hpp
|
||||
--- ext/protozero/include/protozero/config.hpp.orig
|
||||
+++ ext/protozero/include/protozero/config.hpp
|
||||
@@ -37,6 +37,13 @@ documentation.
|
||||
# if (__BYTE_ORDER == __BIG_ENDIAN)
|
||||
# define PROTOZERO_BYTE_ORDER PROTOZERO_BIG_ENDIAN
|
||||
# endif
|
||||
+#elif defined(__BYTE_ORDER__)
|
||||
+# if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
|
||||
+# define PROTOZERO_BYTE_ORDER PROTOZERO_LITTLE_ENDIAN
|
||||
+# endif
|
||||
+# if (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
|
||||
+# define PROTOZERO_BYTE_ORDER PROTOZERO_BIG_ENDIAN
|
||||
+# endif
|
||||
#else
|
||||
// This probably isn't a very good default, but might do until we figure
|
||||
// out something better.
|
||||
Reference in New Issue
Block a user