| 1 |
Descriptionscip-debian debian frogatto 1.3.1+dfsg-9 frogatto/patches/ftbfs-871230#Description.: Fix FTBFS #871230scip-debian-bts debian-bts . . 871230: |
| 2 |
frogatto (1.3.1+dfsg-4) unstable; urgency=medium |
| 3 |
. |
| 4 |
[Dmitry E. Oboukhov] |
| 5 |
* Fix FTBFS (ISO C++ forbids comparison between pointer and integer), |
| 6 |
closes: 871230. |
| 7 |
Authorscip-debian debian frogatto 1.3.1+dfsg-9 frogatto/patches/ftbfs-871230#Author.: Dmitry E. Oboukhov <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 8 |
Bug-Debianscip-debian debian frogatto 1.3.1+dfsg-9 frogatto/patches/ftbfs-871230#Bug-Debian.: https://bugs.debian.org/871230 |
| 9 |
|
| 10 |
--- |
| 11 |
The information above should follow the Patch Tagging Guidelines, please |
| 12 |
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here |
| 13 |
are templates for supplementary fields that you might want to add: |
| 14 |
|
| 15 |
Origin: other |
| 16 |
Bug-Debian: https://bugs.debian.org/871230 |
| 17 |
Forwarded: no |
| 18 |
Reviewed-By: Dmitry E. Oboukhov <[email protected]> |
| 19 |
Last-Update: Wed Aug 16 11:07:16 MSK 2017 |
| 20 |
|
| 21 |
--- frogatto-1.3.1+dfsg.orig/src/surface_cache.cppscip-debian debian frogatto 1.3.1+dfsg-9 frogatto/upstream/`frogatto-1.3.1+dfsg.orig/src/surface_cache.cpp`: |
| 22 |
+++ frogatto-1.3.1+dfsg/src/surface_cache.cppscip-debian debian frogatto 1.3.1+dfsg-9 frogatto/upstream/`frogatto-1.3.1+dfsg/src/surface_cache.cpp`: |
| 23 |
@@ -116,7 +116,7 @@ surface get_no_cache(const std::string& |
| 24 |
} |
| 25 |
#endif // ANDROID |
| 26 |
//std::cerr << "loading image '" << fname << "'\n"; |
| 27 |
|
| 28 |
+ if((!surf.get()) || !surf->w) { |
| 29 |
if(key != "") { |
| 30 |
std::cerr << "failed to load image '" << key << "'\n"; |
| 31 |
} |