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:   nros
Date:           Thu Nov  9 09:59:49 UTC 2023

Modified Files:
        pkgsrc/graphics/freeglut: distinfo
Added Files:
        pkgsrc/graphics/freeglut/patches: patch-src_x11_fg__joystick__x11.c

Log Message:
freeglut: fix usage on illumos/solaris


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/graphics/freeglut/distinfo
cvs rdiff -u -r0 -r1.6 \
    pkgsrc/graphics/freeglut/patches/patch-src_x11_fg__joystick__x11.c

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/distinfo
diff -u pkgsrc/graphics/freeglut/distinfo:1.19 pkgsrc/graphics/freeglut/distinfo:1.20
--- pkgsrc/graphics/freeglut/distinfo:1.19      Wed May  3 15:20:41 2023
+++ pkgsrc/graphics/freeglut/distinfo   Thu Nov  9 09:59:49 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.19 2023/05/03 15:20:41 triaxx Exp $
+$NetBSD: distinfo,v 1.20 2023/11/09 09:59:49 nros Exp $
 
 BLAKE2s (freeglut-3.4.0.tar.gz) = 710aa8aa2705736bfd941e0b94c4503235f82d1b687a40d891fd0c727b4b5fb7
 SHA512 (freeglut-3.4.0.tar.gz) = 4bb6d6c086bac7a9c0ec78062dce58987555785abe6375f462ee249f65210a964a28fb10ba7ee8a42d7fafb00eb8d196eb403d65d255f02f88467369c187228b
 Size (freeglut-3.4.0.tar.gz) = 413389 bytes
+SHA1 (patch-src_x11_fg__joystick__x11.c) = ac82cffd2a9cd6b801cbe1519ee84ef8738f7f82

Added files:

Index: pkgsrc/graphics/freeglut/patches/patch-src_x11_fg__joystick__x11.c
diff -u /dev/null pkgsrc/graphics/freeglut/patches/patch-src_x11_fg__joystick__x11.c:1.6
--- /dev/null   Thu Nov  9 09:59:49 2023
+++ pkgsrc/graphics/freeglut/patches/patch-src_x11_fg__joystick__x11.c  Thu Nov  9 09:59:49 2023
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_x11_fg__joystick__x11.c,v 1.6 2023/11/09 09:59:49 nros Exp $
+
+fghJoystickRawRead is now called fgJoystickRawRead
+https://github.com/FreeGLUTProject/freeglut/commit/eb622d9862158bd088988758b175532563827e39
+This caused linking problems in packages using freeglut
+complaining that it can't find fghJoystickRawRead on Illumos/Solaris.
+Filed upstream:
+https://github.com/FreeGLUTProject/freeglut/pull/150
+
+--- src/x11/fg_joystick_x11.c.orig     2023-11-08 23:41:40.649322173 +0000
++++ src/x11/fg_joystick_x11.c
+@@ -627,7 +627,7 @@ void fgPlatformJoystickOpen( SFG_Joystic
+ 
+     do
+     {
+-        fghJoystickRawRead( joy, NULL, joy->center );
++        fgJoystickRawRead( joy, NULL, joy->center );
+         counter++;
+     } while( !joy->error &&
+              counter < 100 &&



Home | Main Index | Thread Index | Old Index