diff options
author | tsutsui <tsutsui@pkgsrc.org> | 2012-01-21 04:41:44 +0000 |
---|---|---|
committer | tsutsui <tsutsui@pkgsrc.org> | 2012-01-21 04:41:44 +0000 |
commit | c2bfcd130d667b2f1c3ae64419d81a5c0647154c (patch) | |
tree | d7098977543f591553dd2b9ad0c643ce09409ee9 /emulators/tme | |
parent | a553ea4dd4a54ab7cc369eef3bbb3cc996b42392 (diff) | |
download | pkgsrc-c2bfcd130d667b2f1c3ae64419d81a5c0647154c.tar.gz |
Suppress undefined macro warnings (treated as error by -Werror)
by cpp in newer gcc 4.5.3 on NetBSD/arm -current.
Diffstat (limited to 'emulators/tme')
-rw-r--r-- | emulators/tme/distinfo | 3 | ||||
-rw-r--r-- | emulators/tme/patches/patch-ic_ieee754_ieee754-misc-auto.sh | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/emulators/tme/distinfo b/emulators/tme/distinfo index e40d0e47851..044d5392fd7 100644 --- a/emulators/tme/distinfo +++ b/emulators/tme/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2011/10/07 01:12:51 christos Exp $ +$NetBSD: distinfo,v 1.13 2012/01/21 04:41:44 tsutsui Exp $ SHA1 (tme-0.8.tar.gz) = dd4f3421c20ceed548c5328a21dbb26e80f46b9c RMD160 (tme-0.8.tar.gz) = 6bd505c5fa7810d37f436883383c4ba655df2ded @@ -9,3 +9,4 @@ SHA1 (patch-ac) = ba581f10ec54b056564a7a84a5833f2d854b55df SHA1 (patch-ad) = e90986262fe9d883ae64fe01dfb4ae07bde6a916 SHA1 (patch-ae) = cfcea636744991c6eef84ea34ca78d40eb01c086 SHA1 (patch-af) = cd3ffe52d4d75d05394ca74c3f69052bfdc41989 +SHA1 (patch-ic_ieee754_ieee754-misc-auto.sh) = afeb7452ef64bcae71e4dbae21881cff12cb9d4f diff --git a/emulators/tme/patches/patch-ic_ieee754_ieee754-misc-auto.sh b/emulators/tme/patches/patch-ic_ieee754_ieee754-misc-auto.sh new file mode 100644 index 00000000000..abf5ffc685a --- /dev/null +++ b/emulators/tme/patches/patch-ic_ieee754_ieee754-misc-auto.sh @@ -0,0 +1,15 @@ +$NetBSD: patch-ic_ieee754_ieee754-misc-auto.sh,v 1.1 2012/01/21 04:41:44 tsutsui Exp $ + +Suppress undefined macro warnings by cpp in newer gcc 4.5.3 on NetBSD/arm. + +--- ic/ieee754/ieee754-misc-auto.sh.orig 2007-08-24 01:05:43.000000000 +0000 ++++ ic/ieee754/ieee754-misc-auto.sh +@@ -106,7 +106,7 @@ typedef float tme_ieee754_${precision}_b + #elif (TME_FLOAT_FORMAT_IEEE754_${capprecision}_BUILTIN == TME_FLOAT_FORMAT_DOUBLE) + typedef double tme_ieee754_${precision}_builtin_t; + #define tme_float_value_ieee754_${precision}_builtin tme_float_value_double +-#elif (TME_FLOAT_FORMAT_IEEE754_${capprecision}_BUILTIN == TME_FLOAT_FORMAT_LONG_DOUBLE) ++#elif (defined(_TME_HAVE_LONG_DOUBLE) && (TME_FLOAT_FORMAT_IEEE754_${capprecision}_BUILTIN == TME_FLOAT_FORMAT_LONG_DOUBLE)) + typedef long double tme_ieee754_${precision}_builtin_t; + #define tme_float_value_ieee754_${precision}_builtin tme_float_value_long_double + #endif |