summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2016-12-15 22:40:10 +0000
committerwiedi <wiedi@pkgsrc.org>2016-12-15 22:40:10 +0000
commit2d383cacfefda9c3d65b169b78a9e499d4c2abe1 (patch)
tree44ad66f29c41276ea7234a7eca9dc3cedf63afb8 /multimedia
parent56b22159b68093d0d00968d7735a1a97872a2a2d (diff)
downloadpkgsrc-2d383cacfefda9c3d65b169b78a9e499d4c2abe1.tar.gz
extending the patch for netbsd so it fixes sunos too
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ssr/Makefile5
-rw-r--r--multimedia/ssr/distinfo4
-rw-r--r--multimedia/ssr/patches/patch-glinject_Hook.cpp4
3 files changed, 7 insertions, 6 deletions
diff --git a/multimedia/ssr/Makefile b/multimedia/ssr/Makefile
index dc05c47709b..a983dbb6f7b 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 3173a30f07a..cf6cb67ce6c 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 2c114990f94..e8a07a329d1 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 <GL/glx.h>
#include <X11/X.h>
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__sun)
+extern char **environ;
+#endif
+