remove unneeded patch

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-05-17 11:45:23 +02:00
parent a40505ef89
commit 9d8c06a53b
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
2 changed files with 0 additions and 16 deletions

View File

@ -1,12 +0,0 @@
diff -uNr 0ad-0.0.22-alpha.orig/source/gui/CDropDown.cpp 0ad-0.0.22-alpha/source/gui/CDropDown.cpp
--- 0ad-0.0.22-alpha.orig/source/gui/CDropDown.cpp 2017-06-30 01:39:12.000000000 +0200
+++ 0ad-0.0.22-alpha/source/gui/CDropDown.cpp 2017-07-27 10:03:04.647238245 +0200
@@ -352,7 +352,7 @@
int diff = 0;
for (size_t j = 0; j < m_InputBuffer.length(); ++j)
{
- diff = std::abs(pList->m_Items[i].GetRawString().LowerCase()[j] - (int)m_InputBuffer[j]);
+ diff = std::abs((int)pList->m_Items[i].GetRawString().LowerCase()[j] - (int)m_InputBuffer[j]);
if (diff == 0)
indexOfDifference = j+1;
else

View File

@ -110,9 +110,6 @@ Patch3: %{name}-valgrind.patch
# And other fixes
Patch4: %{name}-mozjs-incompatible.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1423200
Patch5: %{name}-abs-unsigned.diff
%description
0 A.D. (pronounced "zero ey-dee") is a free, open-source, cross-platform
real-time strategy (RTS) game of ancient warfare. In short, it is a
@ -135,7 +132,6 @@ hobbyist game developers, since 2001.
%endif
%patch3 -p0
%patch4 -p1
%patch5 -p1
%if %{with system_nvtt}
rm -fr libraries/source/nvtt