From 8e892afd52147cccb1e3943be6c09ea5b1b3ce92 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 14 Apr 2013 02:00:15 +0000 Subject: Try to work around a fatal compiler diagnostic in the Solaris build. --- emulators/tme/distinfo | 4 ++-- emulators/tme/patches/patch-aa | 14 +++++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'emulators/tme') diff --git a/emulators/tme/distinfo b/emulators/tme/distinfo index 8fefedabe8d..0f4e45f9fd9 100644 --- a/emulators/tme/distinfo +++ b/emulators/tme/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.15 2013/02/26 23:39:18 joerg Exp $ +$NetBSD: distinfo,v 1.16 2013/04/14 02:00:15 dholland Exp $ SHA1 (tme-0.8.tar.gz) = dd4f3421c20ceed548c5328a21dbb26e80f46b9c RMD160 (tme-0.8.tar.gz) = 6bd505c5fa7810d37f436883383c4ba655df2ded Size (tme-0.8.tar.gz) = 2100123 bytes -SHA1 (patch-aa) = 41d42a5bbad9f87bce4bada14ca482f5e8f79d9a +SHA1 (patch-aa) = 587f7a3d61a6b37e65d625f1bab0f3c2d740bba9 SHA1 (patch-ab) = 3825986759da24c628b870a1493e4d37ec37358f SHA1 (patch-ac) = ba581f10ec54b056564a7a84a5833f2d854b55df SHA1 (patch-ad) = e90986262fe9d883ae64fe01dfb4ae07bde6a916 diff --git a/emulators/tme/patches/patch-aa b/emulators/tme/patches/patch-aa index 16c5abe33a4..ebfd8c6c68f 100644 --- a/emulators/tme/patches/patch-aa +++ b/emulators/tme/patches/patch-aa @@ -1,4 +1,9 @@ -$NetBSD: patch-aa,v 1.6 2013/02/26 23:39:18 joerg Exp $ +$NetBSD: patch-aa,v 1.7 2013/04/14 02:00:15 dholland Exp $ + +- XXX: some unexplained/undocumented libtool fix +- fix printf formats +- explicitly ignore the variable "rc" in tme_module_close() as the +Sun compiler is objecting to it being assigned and not used. --- libtme/module.c.orig 2010-06-05 19:04:42.000000000 +0000 +++ libtme/module.c @@ -52,3 +57,10 @@ $NetBSD: patch-aa,v 1.6 2013/02/26 23:39:18 joerg Exp $ tme_free_string_array(tokens, -1); return (ENOENT); } +@@ -400,5 +402,6 @@ tme_module_close(void *_module) + tme_free(module); + + /* XXX assume success: */ ++ (void)rc; + return (TME_OK); + } -- cgit v1.2.3