pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/glut Fix Solaris ifdef.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dac7a0cc03d0
branches:  trunk
changeset: 649623:dac7a0cc03d0
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Apr 06 07:07:43 2015 +0000

description:
Fix Solaris ifdef.

diffstat:

 graphics/glut/distinfo                             |   3 ++-
 graphics/glut/patches/patch-src_glut_glx_glutint.h |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 14ed6b558da2 -r dac7a0cc03d0 graphics/glut/distinfo
--- a/graphics/glut/distinfo    Mon Apr 06 04:33:45 2015 +0000
+++ b/graphics/glut/distinfo    Mon Apr 06 07:07:43 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2015/04/03 01:00:52 tnn Exp $
+$NetBSD: distinfo,v 1.20 2015/04/06 07:07:43 tnn Exp $
 
 SHA1 (MesaGLUT-7.9.2.tar.bz2) = d0dc573cb7897de514ee29386be944724e17e979
 RMD160 (MesaGLUT-7.9.2.tar.bz2) = ef00dfa09b563a8ffeeb3523b6d06b66d172983f
@@ -14,3 +14,4 @@
 SHA1 (patch-configure.ac) = 6f7066c73a362882ba87a1336df0214e5020b80f
 SHA1 (patch-src_Makefile) = 01301af232cf843dcde85de87da321242bf457fc
 SHA1 (patch-src_glut_glx_Makefile) = 9d052c85f7e6f034a351a57487e4af8318349565
+SHA1 (patch-src_glut_glx_glutint.h) = a4fb4758ae3fe42c93e2264e51a4d51794f839f7
diff -r 14ed6b558da2 -r dac7a0cc03d0 graphics/glut/patches/patch-src_glut_glx_glutint.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glut/patches/patch-src_glut_glx_glutint.h        Mon Apr 06 07:07:43 2015 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_glut_glx_glutint.h,v 1.1 2015/04/06 07:07:43 tnn Exp $
+
+Fix Solaris ifdef.
+
+--- src/glut/glx/glutint.h.orig        2010-12-14 21:46:56.000000000 +0000
++++ src/glut/glx/glutint.h
+@@ -92,7 +92,7 @@ extern int sys$gettim(struct timeval6 *)
+ #define IS_AT_OR_AFTER(t1, t2) ((t2).val >= (t1).val)
+ 
+ #else
+-#if defined(SVR4) && !defined(sun)  /* Sun claims SVR4, but
++#if defined(SVR4) && !defined(__sun)  /* Sun claims SVR4, but
+                                        wants 2 args. */
+ #define GETTIMEOFDAY(_x) gettimeofday(_x)
+ #else



Home | Main Index | Thread Index | Old Index