summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-01-23 03:00:52 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-01-23 03:00:52 +0000
commite1f4e5513da9b30ebd3417dabaab42ec46bcfb55 (patch)
tree394bacc2d5286bc05892052ce980d338139d1d66
parent816dfd29dcb137f744e02893384e4e082fe21e96 (diff)
downloadillumos-packaging-e1f4e5513da9b30ebd3417dabaab42ec46bcfb55.tar.gz
Use P2ROUNDUP_TYPED macro in svc.configd-amd64-segfault.patch
-rw-r--r--svc.configd/debian/changelog6
-rw-r--r--svc.configd/debian/patches/svc.configd-amd64-segfault.patch2
2 files changed, 7 insertions, 1 deletions
diff --git a/svc.configd/debian/changelog b/svc.configd/debian/changelog
index 0e2d415..1ab2bcc 100644
--- a/svc.configd/debian/changelog
+++ b/svc.configd/debian/changelog
@@ -1,3 +1,9 @@
+svc.configd (2.10-7) UNRELEASED; urgency=low
+
+ * Use P2ROUNDUP_TYPED macro in svc.configd-amd64-segfault.patch
+
+ -- Igor Pashev <pashev.igor@gmail.com> Wed, 23 Jan 2013 02:59:53 +0000
+
svc.configd (2.10-6) unstable; urgency=low
* Build depends on libbsm1-dev (for svc.configd itself)
diff --git a/svc.configd/debian/patches/svc.configd-amd64-segfault.patch b/svc.configd/debian/patches/svc.configd-amd64-segfault.patch
index f1caafd..f614280 100644
--- a/svc.configd/debian/patches/svc.configd-amd64-segfault.patch
+++ b/svc.configd/debian/patches/svc.configd-amd64-segfault.patch
@@ -17,7 +17,7 @@ Index: svc.configd/usr/src/common/svc/repcache_protocol.h
REP_PROTOCOL_TRANSACTION_CMD_SIZE(0)
-#define TX_SIZE(x) P2ROUNDUP((x), sizeof (uint32_t))
-+#define TX_SIZE(x) P2ROUNDUP((uint32_t)(x), (uint32_t)sizeof (uint32_t))
++#define TX_SIZE(x) P2ROUNDUP_TYPED((x), sizeof(uint32_t), uint32_t)
struct rep_protocol_transaction_request {
enum rep_protocol_requestid rpr_request; /* SETUP, ABORT or TEARDOWN */