pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/netpbm added hack for handling of inttypes.h ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/65b4db2e2424
branches: trunk
changeset: 506842:65b4db2e2424
user: schwarz <schwarz%pkgsrc.org@localhost>
date: Sun Jan 22 21:36:31 2006 +0000
description:
added hack for handling of inttypes.h on IRIX 5.3
diffstat:
graphics/netpbm/hacks.mk | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r d16e48025e4e -r 65b4db2e2424 graphics/netpbm/hacks.mk
--- a/graphics/netpbm/hacks.mk Sun Jan 22 21:36:28 2006 +0000
+++ b/graphics/netpbm/hacks.mk Sun Jan 22 21:36:31 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.2 2005/12/05 20:50:21 rillig Exp $
+# $NetBSD: hacks.mk,v 1.3 2006/01/22 21:36:31 schwarz Exp $
.if !defined(NETPBM_HACKS_MK)
NETPBM_HACKS_MK= # defined
@@ -23,4 +23,15 @@
MAKE_FLAGS+= INTTYPES_H='<sys/types.h>'
.endif
+### [Fri Dec 30 21:00:59 CET 2005 : schwarz]
+### make sys/types.h not conflict with inttypes.h
+### (issue is specific to IRIX 5.3)
+###
+.if ${LOWER_OPSYS} == "irix5.3"
+PKG_HACKS+= sys_types_h-inttypes_h-conflict
+post-wrapper:
+ ${MKDIR} ${BUILDLINK_DIR}/include/sys && ${GREP} -v '^typedef.*[^u_]int[12368]*_t;' /usr/include/sys/types.h > ${BUILDLINK_DIR}/include/sys/types.h
+# should match int8_t, int16_t, and int32_t (only)
.endif
+
+.endif
Home |
Main Index |
Thread Index |
Old Index