updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / doom3-darkmod / patch.diff
blob8aa2a106930caf3ce4a784451689f3f98e42a9a8
1 diff -ru ../thedarkmod.1.05.src.orig/lib/devil/il_icon.c ./lib/devil/il_icon.c
2 --- ../thedarkmod.1.05.src.orig/lib/devil/il_icon.c 2011-06-05 15:59:12.970627049 +0200
3 +++ ./lib/devil/il_icon.c 2011-06-05 16:42:50.685614062 +0200
4 @@ -530,7 +530,7 @@
6 // Expand low-bit-depth grayscale images to 8 bits
7 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
8 - png_set_gray_1_2_4_to_8(ico_png_ptr);
9 + png_set_expand_gray_1_2_4_to_8(ico_png_ptr);
12 // Expand RGB images with transparency to full alpha channels
13 diff -ru ../thedarkmod.1.05.src.orig/lib/devil/il_png.c ./lib/devil/il_png.c
14 --- ../thedarkmod.1.05.src.orig/lib/devil/il_png.c 2011-06-05 15:59:12.970627049 +0200
15 +++ ./lib/devil/il_png.c 2011-06-05 16:42:49.072303548 +0200
16 @@ -278,7 +278,7 @@
18 // Expand low-bit-depth grayscale images to 8 bits
19 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
20 - png_set_gray_1_2_4_to_8(png_ptr);
21 + png_set_expand_gray_1_2_4_to_8(png_ptr);
24 // Expand RGB images with transparency to full alpha channels
25 diff -ru ../thedarkmod.1.05.src.orig/tdm_update/libtdm_update/Updater/Updater.cpp ./tdm_update/libtdm_update/Updater/Updater.cpp
26 --- ../thedarkmod.1.05.src.orig/tdm_update/libtdm_update/Updater/Updater.cpp 2011-06-05 22:40:56.994157500 +0200
27 +++ ./tdm_update/libtdm_update/Updater/Updater.cpp 2011-06-05 22:41:45.539002147 +0200
28 @@ -1471,24 +1471,7 @@
30 #else
32 - if (!_updateBatchFile.empty())
33 - {
34 - TraceLog::WriteLine(LOG_STANDARD, "Relaunching tdm_update via shell script " + _updateBatchFile.file_string());
36 - // Perform the system command in a fork
37 - if (fork() == 0)
38 - {
39 - // Don't wait for the subprocess to finish
40 - system((_updateBatchFile.file_string() + " &").c_str());
41 - exit(EXIT_SUCCESS);
42 - return;
43 - }
45 - TraceLog::WriteLine(LOG_VERBOSE, "Process spawned.");
47 - // Done here too
48 return;
49 - }
50 #endif