pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/ssr extending the patch for netbsd so it fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee07f65d3444
branches:  trunk
changeset: 355916:ee07f65d3444
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Thu Dec 15 22:40:10 2016 +0000

description:
extending the patch for netbsd so it fixes sunos too

diffstat:

 multimedia/ssr/Makefile                        |  5 +++--
 multimedia/ssr/distinfo                        |  4 ++--
 multimedia/ssr/patches/patch-glinject_Hook.cpp |  4 ++--
 3 files changed, 7 insertions(+), 6 deletions(-)

diffs (56 lines):

diff -r e58667625dc7 -r ee07f65d3444 multimedia/ssr/Makefile
--- a/multimedia/ssr/Makefile   Thu Dec 15 22:10:03 2016 +0000
+++ b/multimedia/ssr/Makefile   Thu Dec 15 22:40:10 2016 +0000
@@ -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 @@
 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 -r e58667625dc7 -r ee07f65d3444 multimedia/ssr/distinfo
--- a/multimedia/ssr/distinfo   Thu Dec 15 22:10:03 2016 +0000
+++ b/multimedia/ssr/distinfo   Thu Dec 15 22:40:10 2016 +0000
@@ -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 -r e58667625dc7 -r ee07f65d3444 multimedia/ssr/patches/patch-glinject_Hook.cpp
--- a/multimedia/ssr/patches/patch-glinject_Hook.cpp    Thu Dec 15 22:10:03 2016 +0000
+++ b/multimedia/ssr/patches/patch-glinject_Hook.cpp    Thu Dec 15 22:40:10 2016 +0000
@@ -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 @@
  #include <GL/glx.h>
  #include <X11/X.h>
  
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__sun)
 +extern char **environ;
 +#endif
 +



Home | Main Index | Thread Index | Old Index