summarylogtreecommitdiffstats
path: root/shadowmap_old.patch
diff options
context:
space:
mode:
authorLukáš Jirkovský2016-07-23 21:14:57 +0200
committerLukáš Jirkovský2016-07-23 21:14:57 +0200
commit09b2c7a549b29d9f553228e516788f07e7a44b8a (patch)
tree9fe7edd422491f122672d58d53afd385a6df84dc /shadowmap_old.patch
parent4f66ccecf0603c631f72dbd4d60c097f4506ba36 (diff)
downloadaur-aqsis.tar.gz
fix build (thanks to Thomas Ascher for the patch)
remove install file, as everything is now handled by hooks
Diffstat (limited to 'shadowmap_old.patch')
-rw-r--r--shadowmap_old.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/shadowmap_old.patch b/shadowmap_old.patch
new file mode 100644
index 000000000000..9eddf61977b3
--- /dev/null
+++ b/shadowmap_old.patch
@@ -0,0 +1,20 @@
+diff -crB package.pristine/libs/core/texturing_old/shadowmap_old.cpp package.new/libs/core/texturing_old/shadowmap_old.cpp
+*** package.pristine/libs/core/texturing_old/shadowmap_old.cpp 2012-08-24 14:26:50.000000000 +0200
+--- package.new/libs/core/texturing_old/shadowmap_old.cpp 2016-07-12 22:53:04.498989000 +0200
+***************
+*** 176,182 ****
+ {
+ std::ifstream file( m_strName.c_str(), std::ios::in | std::ios::binary );
+
+! if ( file != NULL )
+ {
+ // Save a file type and version marker
+ TqPchar origHeader = tokenCast(ZFILE_HEADER);
+--- 176,182 ----
+ {
+ std::ifstream file( m_strName.c_str(), std::ios::in | std::ios::binary );
+
+! if ( file )
+ {
+ // Save a file type and version marker
+ TqPchar origHeader = tokenCast(ZFILE_HEADER);