pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/compat_headers Fix hpux bugfix. __strtoll nee...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a4e46c028f5
branches:  trunk
changeset: 542700:2a4e46c028f5
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun May 25 17:38:37 2008 +0000

description:
Fix hpux bugfix. __strtoll needs inttypes.h

diffstat:

 pkgtools/compat_headers/Makefile          |  4 ++--
 pkgtools/compat_headers/buildlink3.mk     |  5 ++---
 pkgtools/compat_headers/files/stdlib.h.in |  1 +
 3 files changed, 5 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r af6684678117 -r 2a4e46c028f5 pkgtools/compat_headers/Makefile
--- a/pkgtools/compat_headers/Makefile  Sun May 25 17:10:29 2008 +0000
+++ b/pkgtools/compat_headers/Makefile  Sun May 25 17:38:37 2008 +0000
@@ -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 -r af6684678117 -r 2a4e46c028f5 pkgtools/compat_headers/buildlink3.mk
--- a/pkgtools/compat_headers/buildlink3.mk     Sun May 25 17:10:29 2008 +0000
+++ b/pkgtools/compat_headers/buildlink3.mk     Sun May 25 17:38:37 2008 +0000
@@ -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_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 -r af6684678117 -r 2a4e46c028f5 pkgtools/compat_headers/files/stdlib.h.in
--- a/pkgtools/compat_headers/files/stdlib.h.in Sun May 25 17:10:29 2008 +0000
+++ b/pkgtools/compat_headers/files/stdlib.h.in Sun May 25 17:38:37 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index