Date: Fri, 16 Jan 2009 05:25:56 -0900 (AKST) From: Mel <mel@rachie.is-a-geek.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/130622: [PATCH] Fix graphics/sane-backends build Message-ID: <20090116142556.EFAEEA831CB@packages-7.rachie.is-a-geek.net> Resent-Message-ID: <200901161450.n0GEo1td090957@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 130622 >Category: ports >Synopsis: [PATCH] Fix graphics/sane-backends build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 16 14:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mel >Release: FreeBSD 7.0-STABLE i386 >Organization: >Environment: System: FreeBSD packages-7.rachie.is-a-geek.net 7.0-STABLE FreeBSD 7.0-STABLE #3: Sun Aug 3 05:37:19 AKDT 2008 root@squish.rachie.is-a-geek.net:/data/obj/data/RELENG_7/src/sys/GENERIC-PF i386 >Description: graphics/sane-backends fails to compile due to a header error: In file included from epson2_net.c:19: ../include/sane/sanei_tcp.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sanei_tcp_write' ../include/sane/sanei_tcp.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sanei_tcp_read' epson2_net.c: In function 'sanei_epson_net_read_raw': epson2_net.c:57: warning: implicit declaration of function 'sanei_tcp_read' epson2_net.c: In function 'sanei_epson_net_write': epson2_net.c:194: warning: implicit declaration of function 'sanei_tcp_write' gmake[1]: *** [epson2_net.lo] Error 1 gmake[1]: Leaving directory `/usr/obj/usr/ports/graphics/sane-backends/work/sane-backends-1.0.19/backend' gmake: *** [all-recursive] Error 1 *** Error code 2 >How-To-Repeat: make -C /usr/ports/graphics/sane-backends build >Fix: --- patch-include_sane_sanei_tcp.h begins here --- --- include/sane/sanei_tcp.h.orig 2006-11-30 14:23:19.000000000 -0900 +++ include/sane/sanei_tcp.h 2009-01-16 05:02:42.000000000 -0900 @@ -20,6 +20,7 @@ #include <sane/sane.h> +#include <sys/types.h> #include <netinet/in.h> #include <netdb.h> --- patch-include_sane_sanei_tcp.h ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090116142556.EFAEEA831CB>