pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/freeglut



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr 25 11:27:00 UTC 2017

Modified Files:
        pkgsrc/graphics/freeglut: Makefile distinfo
Added Files:
        pkgsrc/graphics/freeglut/patches: patch-CMakeLists.txt

Log Message:
Use upstream patch to fix glut.h installation.

No change to binary package.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/graphics/freeglut/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/graphics/freeglut/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/freeglut/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/freeglut/Makefile
diff -u pkgsrc/graphics/freeglut/Makefile:1.20 pkgsrc/graphics/freeglut/Makefile:1.21
--- pkgsrc/graphics/freeglut/Makefile:1.20      Sat Oct  1 07:52:57 2016
+++ pkgsrc/graphics/freeglut/Makefile   Tue Apr 25 11:27:00 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2016/10/01 07:52:57 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2017/04/25 11:27:00 wiz Exp $
 
 DISTNAME=      freeglut-3.0.0
 CATEGORIES=    graphics
@@ -17,10 +17,6 @@ USE_LIBTOOL= yes
 
 PKGCONFIG_OVERRIDE=    freeglut.pc.in
 
-# https://sourceforge.net/p/freeglut/bugs/232/
-post-install:
-       ${RM} ${DESTDIR}${PREFIX}/include/GL/glut.h
-
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../graphics/glu/buildlink3.mk"
 .include "../../x11/libXi/buildlink3.mk"

Index: pkgsrc/graphics/freeglut/distinfo
diff -u pkgsrc/graphics/freeglut/distinfo:1.7 pkgsrc/graphics/freeglut/distinfo:1.8
--- pkgsrc/graphics/freeglut/distinfo:1.7       Sat Oct  1 07:47:04 2016
+++ pkgsrc/graphics/freeglut/distinfo   Tue Apr 25 11:27:00 2017
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.7 2016/10/01 07:47:04 wiz Exp $
+$NetBSD: distinfo,v 1.8 2017/04/25 11:27:00 wiz Exp $
 
 SHA1 (freeglut-3.0.0.tar.gz) = fca52242f9344627a30f11487ee42002e6b0dacd
 RMD160 (freeglut-3.0.0.tar.gz) = ce4129a22199516ecf24491f0ed026f40c3f5dae
 SHA512 (freeglut-3.0.0.tar.gz) = 9c45d5b203b26a7ff92331b3e080a48e806c92fbbe7c65d9262dd18c39cd6efdad8a795a80f499a2d23df84b4909dbd7c1bab20d7dd3555d3d88782ce9dd15b0
 Size (freeglut-3.0.0.tar.gz) = 419095 bytes
+SHA1 (patch-CMakeLists.txt) = bb53c67d35870ed077c757f39abf78cbc23b700f
 SHA1 (patch-src_freeglut__joystick.c) = a3f52010378afd1218ba12328a2b4626b758d483
 SHA1 (patch-src_x11_fg__joystick__x11.c) = ccd79599939d936e4364c6e8d91a8ce0e058db78

Added files:

Index: pkgsrc/graphics/freeglut/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/freeglut/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Tue Apr 25 11:27:01 2017
+++ pkgsrc/graphics/freeglut/patches/patch-CMakeLists.txt       Tue Apr 25 11:27:00 2017
@@ -0,0 +1,20 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2017/04/25 11:27:00 wiz Exp $
+
+https://github.com/dcnieho/FreeGLUT/commit/a0b77bba49573dab3564ce22a503024098664f04
+
+--- CMakeLists.txt.orig        2015-02-18 04:59:57.000000000 +0000
++++ CMakeLists.txt
+@@ -62,8 +62,12 @@ SET(FREEGLUT_HEADERS
+     include/GL/freeglut.h
+     include/GL/freeglut_ext.h
+     include/GL/freeglut_std.h
+-    include/GL/glut.h
+ )
++IF(FREEGLUT_REPLACE_GLUT)
++    LIST(APPEND FREEGLUT_SRCS
++        include/GL/glut.h
++    )
++ENDIF()
+ SET(FREEGLUT_SRCS
+     ${FREEGLUT_HEADERS}
+     src/fg_callbacks.c



Home | Main Index | Thread Index | Old Index