diff options
author | tnn <tnn@pkgsrc.org> | 2015-04-06 07:07:43 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-04-06 07:07:43 +0000 |
commit | 2ad936d8e834785f4acdca6d31da77413c455e44 (patch) | |
tree | 10eafee3733602b17adbb344dddb17759cc932ce /graphics | |
parent | dcca09174b79b5a063d079591b38cbd3a8b78f24 (diff) | |
download | pkgsrc-2ad936d8e834785f4acdca6d31da77413c455e44.tar.gz |
Fix Solaris ifdef.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/glut/distinfo | 3 | ||||
-rw-r--r-- | graphics/glut/patches/patch-src_glut_glx_glutint.h | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/graphics/glut/distinfo b/graphics/glut/distinfo index a003a023562..2fe48b7e66a 100644 --- a/graphics/glut/distinfo +++ b/graphics/glut/distinfo @@ -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-configs_default) = 22a57d6770b41fff19f3e10c15c766fd5ea8c738 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 --git a/graphics/glut/patches/patch-src_glut_glx_glutint.h b/graphics/glut/patches/patch-src_glut_glx_glutint.h new file mode 100644 index 00000000000..f92819dfed1 --- /dev/null +++ b/graphics/glut/patches/patch-src_glut_glx_glutint.h @@ -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 |