1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/graphics/sane-epkowa/files/patch-02
Luigi Rizzo 960fa658ea A SANE scanner backend for various Epson scanners.
This backend supports many more devices than the sane-epson included
in graphics/sane-backends, including new multifunction devices such
as the SX400.

http://avasys.jp/english/
2008-12-31 12:02:50 +00:00

22 lines
499 B
Plaintext

--- 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 [ ] )
{