[PATCH] sane.ds: Send events to applications through the DSM.

Alexandre Julliard julliard at winehq.org
Tue Nov 14 13:45:31 CST 2017


Vincent Povirk <vincent at codeweavers.com> writes:

> Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
> ---
>  dlls/sane.ds/ds_ctrl.c   | 19 ++++---------------
>  dlls/sane.ds/sane_i.h    |  5 +++--
>  dlls/sane.ds/sane_main.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++-
>  dlls/sane.ds/ui.c        |  6 ++----
>  include/twain.h          | 24 ++++++++++++++++++++++++
>  5 files changed, 80 insertions(+), 22 deletions(-)

This breaks the build when libsane is missing:

ds_ctrl.o: In function `SANE_EnableDSUserInterface':
/home/julliard/wine/build/obj-pe32/dlls/sane.ds/../../../wine/dlls/sane.ds/ds_ctrl.c:421: undefined reference to `SANE_Notify'
/home/julliard/wine/build/obj-pe32/dlls/sane.ds/../../../wine/dlls/sane.ds/ds_ctrl.c:407: undefined reference to `SANE_Notify'
sane_main.o: In function `DS_Entry at 20':
/home/julliard/wine/build/obj-pe32/dlls/sane.ds/../../../wine/dlls/sane.ds/sane_main.c:189: undefined reference to `SANE_SetEntryPoint'
collect2: error: ld returned 1 exit status
winegcc: i686-w64-mingw32-gcc failed

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list