diff options
author | tnn <tnn@pkgsrc.org> | 2008-05-25 17:38:37 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-05-25 17:38:37 +0000 |
commit | 3fdc6f2663de830b46553b7915b4e76cfaa8fd3a (patch) | |
tree | 8af60cc1ac4f8a177c4bd4754cf2f5b0311057eb | |
parent | 19b1325712a6be3f76bdafe24b6c16c3ce5bd20b (diff) | |
download | pkgsrc-3fdc6f2663de830b46553b7915b4e76cfaa8fd3a.tar.gz |
Fix hpux bugfix. __strtoll needs inttypes.h
-rw-r--r-- | pkgtools/compat_headers/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/compat_headers/buildlink3.mk | 5 | ||||
-rw-r--r-- | pkgtools/compat_headers/files/stdlib.h.in | 1 |
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 |