From f64265ecc997f2ba961c95628c4b5753ecf93603 Mon Sep 17 00:00:00 2001 From: wiedi Date: Thu, 15 Dec 2016 22:40:10 +0000 Subject: [PATCH] extending the patch for netbsd so it fixes sunos too --- multimedia/ssr/Makefile | 5 +++-- multimedia/ssr/distinfo | 4 ++-- multimedia/ssr/patches/patch-glinject_Hook.cpp | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/multimedia/ssr/Makefile b/multimedia/ssr/Makefile index dc05c47709ba..a983dbb6f7b8 100644 --- a/multimedia/ssr/Makefile +++ b/multimedia/ssr/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2016/08/17 00:06:45 ryoon Exp $ +# $NetBSD: Makefile,v 1.6 2016/12/15 22:40:10 wiedi Exp $ # DISTNAME= ssr-0.3.6 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_GITHUB:=MaartenBaert/} @@ -18,6 +18,7 @@ USE_LANGUAGES= c c++ REPLACE_BASH= scripts/ssr-glinject CFLAGS.NetBSD+= -DBSD +CFLAGS.SunOS+= -DBSD .include "../../mk/dlopen.buildlink3.mk" BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q} diff --git a/multimedia/ssr/distinfo b/multimedia/ssr/distinfo index 3173a30f07a2..cf6cb67ce6cd 100644 --- a/multimedia/ssr/distinfo +++ b/multimedia/ssr/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.3 2016/03/01 20:11:35 joerg Exp $ +$NetBSD: distinfo,v 1.4 2016/12/15 22:40:10 wiedi Exp $ SHA1 (ssr-0.3.6.tar.gz) = 20f126aeebf6ca2480898de02efb13f46471aaad RMD160 (ssr-0.3.6.tar.gz) = 9e9c631a330e8d92c7ea3379b062be6892bdd313 SHA512 (ssr-0.3.6.tar.gz) = 54e07050ae58c2d59327b13be6613754ada26891c157c6e9d121db2658508245c8f9a6c92921fdc125cdf82611099abf9c89d64ee093a6592fc81fb9c96cb09d Size (ssr-0.3.6.tar.gz) = 1640585 bytes SHA1 (patch-configure) = d92853ae320506da18ccaec91c5eb525d7d3b5a2 -SHA1 (patch-glinject_Hook.cpp) = b3e804e2e317194d99eeb634aa9fd3d565f18940 +SHA1 (patch-glinject_Hook.cpp) = 39e86abf5b5e348c25708fcf962cc7693be17330 SHA1 (patch-glinject_elfhacks.c) = 4d416e0ea6b160d34583e737ba5bd1981a8a94ef SHA1 (patch-src_Benchmark.cpp) = f4d572b4a9c0593175703bb3f62e4259ff5e0f1a diff --git a/multimedia/ssr/patches/patch-glinject_Hook.cpp b/multimedia/ssr/patches/patch-glinject_Hook.cpp index 2c114990f94e..e8a07a329d16 100644 --- a/multimedia/ssr/patches/patch-glinject_Hook.cpp +++ b/multimedia/ssr/patches/patch-glinject_Hook.cpp @@ -1,4 +1,4 @@ -$NetBSD: patch-glinject_Hook.cpp,v 1.1 2016/02/08 20:43:32 markd Exp $ +$NetBSD: patch-glinject_Hook.cpp,v 1.2 2016/12/15 22:40:10 wiedi Exp $ Linux gets environ from unistd.h @@ -8,7 +8,7 @@ Linux gets environ from unistd.h #include #include -+#ifdef __NetBSD__ ++#if defined(__NetBSD__) || defined(__sun) +extern char **environ; +#endif +