summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-12-10 11:55:41 +0000
committerjperkin <jperkin>2013-12-10 11:55:41 +0000
commit0efcc9e9af63a2a53b6b8ad8fa01806a1a2cb45c (patch)
tree85a4889d725aadfebcb043464364e5b8ea8d24c9 /devel
parent996ee9e7beb4e77e6c76b4585aee2fc1b0d17374 (diff)
downloadpkgsrc-0efcc9e9af63a2a53b6b8ad8fa01806a1a2cb45c.tar.gz
Fix inttypes on SunOS. Patch from Sebastian Wiedenroth.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-usb/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/py-usb/Makefile b/devel/py-usb/Makefile
index 4938389115f..50d9ed0802b 100644
--- a/devel/py-usb/Makefile
+++ b/devel/py-usb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/10/31 11:19:35 asau Exp $
+# $NetBSD: Makefile,v 1.6 2013/12/10 11:55:41 jperkin Exp $
VERSION= 0.4.2
DISTNAME= pyusb-${VERSION}
@@ -11,6 +11,8 @@ MAINTAINER= wiml@hhhh.org
HOMEPAGE= http://pyusb.berlios.de/
COMMENT= Python interface to USB via libusb
+CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t
+
.include "../../devel/libusb/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"