summaryrefslogtreecommitdiff
path: root/pkgtools/compat_headers
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-05-25 17:38:37 +0000
committertnn <tnn@pkgsrc.org>2008-05-25 17:38:37 +0000
commit79be47e0d922a81c0f3ceee5916bcf1bf05d2d55 (patch)
tree8af60cc1ac4f8a177c4bd4754cf2f5b0311057eb /pkgtools/compat_headers
parent3ea3d2ff27c5b71434c01bbddba408d6ea959d1c (diff)
downloadpkgsrc-79be47e0d922a81c0f3ceee5916bcf1bf05d2d55.tar.gz
Fix hpux bugfix. __strtoll needs inttypes.h
Diffstat (limited to 'pkgtools/compat_headers')
-rw-r--r--pkgtools/compat_headers/Makefile4
-rw-r--r--pkgtools/compat_headers/buildlink3.mk5
-rw-r--r--pkgtools/compat_headers/files/stdlib.h.in1
3 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/compat_headers/Makefile b/pkgtools/compat_headers/Makefile
index 63e8e477e9b..8b3227b5dc3 100644
--- a/pkgtools/compat_headers/Makefile
+++ b/pkgtools/compat_headers/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/05/24 03:35:38 tnn Exp $
+# $NetBSD: Makefile,v 1.2 2008/05/25 17:38:37 tnn Exp $
-DISTNAME= compat_headers-0.1
+DISTNAME= compat_headers-0.2
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/compat_headers/buildlink3.mk b/pkgtools/compat_headers/buildlink3.mk
index d579c8f327e..c9a401d8335 100644
--- a/pkgtools/compat_headers/buildlink3.mk
+++ b/pkgtools/compat_headers/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/05/24 03:35:38 tnn Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2008/05/25 17:38:37 tnn Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
COMPAT_HEADERS_BUILDLINK3_MK:= ${COMPAT_HEADERS_BUILDLINK3_MK}+
@@ -12,8 +12,7 @@ BUILDLINK_PACKAGES+= compat_headers
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}compat_headers
.if !empty(COMPAT_HEADERS_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.compat_headers+= compat_headers>=0.1
-BUILDLINK_ABI_DEPENDS.compat_headers+= compat_headers>=0.1
+BUILDLINK_API_DEPENDS.compat_headers+= compat_headers>=0.2
BUILDLINK_PKGSRCDIR.compat_headers?= ../../pkgtools/compat_headers
BUILDLINK_DEPMETHOD.compat_headers?= build
.endif # COMPAT_HEADERS_BUILDLINK3_MK
diff --git a/pkgtools/compat_headers/files/stdlib.h.in b/pkgtools/compat_headers/files/stdlib.h.in
index 50010a5898d..9e73b169368 100644
--- a/pkgtools/compat_headers/files/stdlib.h.in
+++ b/pkgtools/compat_headers/files/stdlib.h.in
@@ -3,6 +3,7 @@
@ifndef _COMPAT_STDLIB_H_
@define _COMPAT_STDLIB_H_
#if CH_HPUX___STRTOLL > 0
+@include <inttypes.h>
@define strtoll(nptr, endptr, base) __strtoll(nptr, endptr, base)
@define strtoull(nptr, endptr, base) __strtoull(nptr, endptr, base)
#endif