pkgsrc-WIP-changes archive

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

thedarkmod: Another patch.



Module Name:	pkgsrc-wip
Committed By:	nia <nia%NetBSD.org@localhost>
Pushed By:	nee
Date:		Thu Apr 18 17:53:20 2019 +0100
Changeset:	748da6c2facf86c180435c59177c41871e5d800a

Modified Files:
	thedarkmod/distinfo
Added Files:
	thedarkmod/patches/patch-sys_scons_SConscript.gl

Log Message:
thedarkmod: Another patch.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=748da6c2facf86c180435c59177c41871e5d800a

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

diffstat:
 thedarkmod/distinfo                              |  1 +
 thedarkmod/patches/patch-sys_scons_SConscript.gl | 25 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+)

diffs:
diff --git a/thedarkmod/distinfo b/thedarkmod/distinfo
index e2db782317..684ed744a1 100644
--- a/thedarkmod/distinfo
+++ b/thedarkmod/distinfo
@@ -20,6 +20,7 @@ SHA1 (patch-sys_gllog_gl__extensions.cpp.m4) = eeb4961c611e86b8e7ebbe333667ff9e5
 SHA1 (patch-sys_linux_main.cpp) = 2f15b1c3b635fc5f32fccbbc7f6ba39da17d8327
 SHA1 (patch-sys_osx_DOOMController.mm) = 492c6555fb0550e6eb41617176574b8c616ff48d
 SHA1 (patch-sys_scons_SConscript.darkmod) = 076e5663f2b16b88892b49d10ec11278d9be98f5
+SHA1 (patch-sys_scons_SConscript.gl) = 89fd461e5f1ea2a299de77d011d0e13b85aac27c
 SHA1 (patch-sys_sys__local.cpp) = 265e7f1c8c42d33264272ff079778355da89184b
 SHA1 (patch-sys_sys__local.h) = 20eb3286e84c1be82fc67d51c3ef79612c3d119e
 SHA1 (patch-sys_sys__public.h) = 5549b99eb433a543d5f086e2ae9432ba3f08d714
diff --git a/thedarkmod/patches/patch-sys_scons_SConscript.gl b/thedarkmod/patches/patch-sys_scons_SConscript.gl
new file mode 100644
index 0000000000..3dd03c332e
--- /dev/null
+++ b/thedarkmod/patches/patch-sys_scons_SConscript.gl
@@ -0,0 +1,25 @@
+$NetBSD$
+
+--- sys/scons/SConscript.gl.orig	2019-02-02 17:51:38.000000000 +0000
++++ sys/scons/SConscript.gl
+@@ -32,16 +32,14 @@ def build_logfuncs(env, target, source):
+ 	do_logfunc(f_in, f_out)
+ 	f_in.close()
+ 	
+-	f_out.write('\n#ifdef __linux__\n\n')
+-	f_in = open( gllog_path + '/glX.api', 'r')
+-	do_logfunc(f_in, f_out)
+-	f_in.close()
+-	f_out.write('\n#endif\n\n')
+-	
+ 	f_out.write('\n#ifdef WIN32\n\n')
+ 	f_in = open( gllog_path + '/wgl.api', 'r')
+ 	do_logfunc(f_in, f_out)
+ 	f_in.close()
++	f_out.write('\n#else\n\n')
++	f_in = open( gllog_path + '/glX.api', 'r')
++	do_logfunc(f_in, f_out)
++	f_in.close()
+ 	f_out.write('\n#endif\n\n')
+ 	
+ 	f_out.close()


Home | Main Index | Thread Index | Old Index