pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/xracer



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Sep 23 06:44:52 UTC 2024

Modified Files:
        pkgsrc/games/xracer: Makefile distinfo
Added Files:
        pkgsrc/games/xracer/patches: patch-src_main.c

Log Message:
xracer: fix startup

>From iris000 on pkgsrc-users.

Fix some pkglint while here, set LICENSE.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 pkgsrc/games/xracer/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/games/xracer/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/xracer/patches/patch-src_main.c

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

Modified files:

Index: pkgsrc/games/xracer/Makefile
diff -u pkgsrc/games/xracer/Makefile:1.76 pkgsrc/games/xracer/Makefile:1.77
--- pkgsrc/games/xracer/Makefile:1.76   Fri Dec 22 19:22:24 2023
+++ pkgsrc/games/xracer/Makefile        Mon Sep 23 06:44:51 2024
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.76 2023/12/22 19:22:24 zafer Exp $
-#
+# $NetBSD: Makefile,v 1.77 2024/09/23 06:44:51 wiz Exp $
 
 DISTNAME=              xracer-0.96.9
-PKGREVISION=           29
+PKGREVISION=           30
 CATEGORIES=            games x11
 MASTER_SITES=          #
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 #HOMEPAGE=             http://www.annexia.org/freeware/xracer
-COMMENT=               XRacer is a clone of the popular Psygnosis game Wipeout
+COMMENT=               Clone of the popular Psygnosis game Wipeout
+LICENSE=               gnu-gpl-v2
 
 USE_TOOLS+=            gmake perl:run
 PERL5_PACKLIST=                auto/XRacer/.packlist

Index: pkgsrc/games/xracer/distinfo
diff -u pkgsrc/games/xracer/distinfo:1.14 pkgsrc/games/xracer/distinfo:1.15
--- pkgsrc/games/xracer/distinfo:1.14   Tue Oct 26 10:44:34 2021
+++ pkgsrc/games/xracer/distinfo        Mon Sep 23 06:44:51 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2021/10/26 10:44:34 nia Exp $
+$NetBSD: distinfo,v 1.15 2024/09/23 06:44:51 wiz Exp $
 
 BLAKE2s (xracer-0.96.9.tar.gz) = 001cb36d5692b10bd26706bf03f0a661c241ecca34d8cb77a422f4c08ef840d1
 SHA512 (xracer-0.96.9.tar.gz) = e409ca9dfdf1cf196646eb5d7a0f380d8f19ac8f805de3bc44e6030b6580009aa94a7b9d13d303ce7a5daf6a0ec512da40c8f006b0fb09fcc24152932fc889b4
@@ -25,6 +25,7 @@ SHA1 (patch-include_xracer-craft.h) = b5
 SHA1 (patch-include_xracer-player.h) = 6a7f33c926d74c1d2ee9dc21d91acbf269b57f6c
 SHA1 (patch-src_game.c) = cb5a73dde445eec2aa924e61be4f1fd0c3e9135e
 SHA1 (patch-src_jpeg.c) = 8549eccb261e3169381ff6c101895ed2815d6c78
+SHA1 (patch-src_main.c) = eadebf322795adca81859cead43e3cd69f9cf834
 SHA1 (patch-src_math.c) = c358f346184092e1e68f21ec8ba82e253093fb97
 SHA1 (patch-src_mpeg_store.c) = 13cf0c3625be119c68825961282beb50a3aa4a70
 SHA1 (patch-src_player.c) = e2a8305257f38073b03fbd39a95c1a35542506af

Added files:

Index: pkgsrc/games/xracer/patches/patch-src_main.c
diff -u /dev/null pkgsrc/games/xracer/patches/patch-src_main.c:1.1
--- /dev/null   Mon Sep 23 06:44:52 2024
+++ pkgsrc/games/xracer/patches/patch-src_main.c        Mon Sep 23 06:44:51 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_main.c,v 1.1 2024/09/23 06:44:51 wiz Exp $
+
+freeglut  ERROR:
+Function <glutCreateWindow> called without first calling 'glutInit'.
+
+--- src/main.c.orig    2024-09-23 06:42:06.391623724 +0000
++++ src/main.c
+@@ -256,6 +256,8 @@ main (int argc, char *argv[])
+     }
+ #endif
+ 
++  glutInit (&argc, argv);
++
+   /* Perform program-level initialization. */
+   program_initialization ();
+ 



Home | Main Index | Thread Index | Old Index