pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/libiconv added a hack to work around the co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6119c4e9051f
branches:  trunk
changeset: 511456:6119c4e9051f
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Fri Apr 14 21:13:10 2006 +0000

description:
added a hack to work around the conflict of sys/types.h and inttypes.h on
IRIX 5.3.

diffstat:

 converters/libiconv/hacks.mk |  17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diffs (21 lines):

diff -r f60815201aa3 -r 6119c4e9051f converters/libiconv/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/libiconv/hacks.mk      Fri Apr 14 21:13:10 2006 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: hacks.mk,v 1.1 2006/04/14 21:13:10 schwarz Exp $
+
+.if !defined(LIBEXIF_HACKS_MK)
+LIBEXIF_HACKS_MK=      # defined
+
+### [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