pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/openslp added a hack that overcomes a problem with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ebf084b628e9
branches:  trunk
changeset: 511723:ebf084b628e9
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Thu Apr 20 10:55:35 2006 +0000

description:
added a hack that overcomes a problem with the IRIX 5.3 header files

diffstat:

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

diffs (21 lines):

diff -r 1fab07151a75 -r ebf084b628e9 net/openslp/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/openslp/hacks.mk      Thu Apr 20 10:55:35 2006 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: hacks.mk,v 1.1 2006/04/20 10:55:35 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