diff options
Diffstat (limited to 'graphics/sane-epkowa/files/patch-frontend__pisa_main.cc')
-rw-r--r-- | graphics/sane-epkowa/files/patch-frontend__pisa_main.cc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/sane-epkowa/files/patch-frontend__pisa_main.cc b/graphics/sane-epkowa/files/patch-frontend__pisa_main.cc new file mode 100644 index 000000000000..42e77d488100 --- /dev/null +++ b/graphics/sane-epkowa/files/patch-frontend__pisa_main.cc @@ -0,0 +1,21 @@ +--- frontend/pisa_main.cc.orig 2008-12-08 02:11:49.000000000 +0100 ++++ frontend/pisa_main.cc 2008-12-26 00:42:07.000000000 +0100 +@@ -41,6 +41,18 @@ + + int g_gimp_plugin = 1; + ++extern "C" { ++int __errno_location; ++#undef stderr; ++FILE *stderr; ++void __assert_fail(const char * assertion, const char * file, unsigned int ++line, const char * function) ++{ ++ fprintf(stderr, "fail\n"); ++} ++} ++ ++ + /*----------------------------------------------------------*/ + int main ( int argc, char * argv [ ] ) + { |