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:   tnn
Date:           Mon Apr 28 17:41:46 UTC 2025

Modified Files:
        pkgsrc/graphics/freeglut: distinfo
Added Files:
        pkgsrc/graphics/freeglut/patches: patch-src_egl_fg__init__egl.h

Log Message:
freeglut: replace K&R prototype


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/graphics/freeglut/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/freeglut/patches/patch-src_egl_fg__init__egl.h

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.20 pkgsrc/graphics/freeglut/distinfo:1.21
--- pkgsrc/graphics/freeglut/distinfo:1.20      Thu Nov  9 09:59:49 2023
+++ pkgsrc/graphics/freeglut/distinfo   Mon Apr 28 17:41:46 2025
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.20 2023/11/09 09:59:49 nros Exp $
+$NetBSD: distinfo,v 1.21 2025/04/28 17:41:46 tnn 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_egl_fg__init__egl.h) = ddd37492e223d6dbd5e01d9696a3eb06ae9f468b
 SHA1 (patch-src_x11_fg__joystick__x11.c) = ac82cffd2a9cd6b801cbe1519ee84ef8738f7f82

Added files:

Index: pkgsrc/graphics/freeglut/patches/patch-src_egl_fg__init__egl.h
diff -u /dev/null pkgsrc/graphics/freeglut/patches/patch-src_egl_fg__init__egl.h:1.1
--- /dev/null   Mon Apr 28 17:41:47 2025
+++ pkgsrc/graphics/freeglut/patches/patch-src_egl_fg__init__egl.h      Mon Apr 28 17:41:46 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_egl_fg__init__egl.h,v 1.1 2025/04/28 17:41:46 tnn Exp $
+
+Replace K&R prototype
+
+--- src/egl/fg_init_egl.h.orig 2025-04-28 17:36:43.310481098 +0000
++++ src/egl/fg_init_egl.h
+@@ -28,6 +28,7 @@
+ 
+ extern void fghPlatformInitializeEGL();
+ extern void fghPlatformCloseDisplayEGL();
+-extern void fgPlatformDestroyContext();
+-
++#  ifndef EGL_VERSION_1_0
++extern void fgPlatformDestroyContext(SFG_PlatformDisplay, SFG_WindowContextType);
++#  endif
+ #endif



Home | Main Index | Thread Index | Old Index