hplip/hplip-misc-missing-includes-and-definitions.patch
Martin Wilck 39a0505266 Accepting request 694147 from home:weberho:branches:Printing
- Added hp-uiscan application
- Updated URLs and source URLs
- Updated/rebased hplip-misc-missing-includes-and-definitions.patch
- Added hplip-remove-imageprocessor.diff which fully removes references
  to the closed source ImageProcessor. Thanks to Didier Raboud from Debian.
- Addded hplip-orblite-return-null.diff to let a function return NULL
  insetad of nothing.
- update to 3.19.3

I have successfully tested with Leap 15 in my office environment

OBS-URL: https://build.opensuse.org/request/show/694147
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=170
2019-04-23 09:37:48 +00:00

47 lines
1.9 KiB
Diff

Only in hplip-3.18.12/: Makefile.am.orig
diff -ur hplip-3.18.12-orig/protocol/discovery/mdns.c hplip-3.18.12/protocol/discovery/mdns.c
--- hplip-3.18.12-orig/protocol/discovery/mdns.c 2018-12-08 14:56:48.794408994 +0100
+++ hplip-3.18.12/protocol/discovery/mdns.c 2018-12-08 14:56:28.785871912 +0100
@@ -37,6 +37,7 @@
#include <arpa/inet.h>
#include "mdns.h"
#include <unistd.h>
+#include <ctype.h>
/* Convert "www.google.com" to "3www6google3com". */
static int mdns_convert_name_to_dns(const char *name, int name_size, char *dns_name)
diff -ur hplip-3.18.12-orig/protocol/discovery/mdns.h hplip-3.18.12/protocol/discovery/mdns.h
--- hplip-3.18.12-orig/protocol/discovery/mdns.h 2018-12-03 08:08:49.000000000 +0100
+++ hplip-3.18.12/protocol/discovery/mdns.h 2018-12-08 14:56:28.785871912 +0100
@@ -100,5 +100,6 @@
static void mdns_rr_cleanup(DNS_RECORD *rr);
static DNS_RECORD *mdns_read_responses(int udp_socket, int mode);
static unsigned char* mdns_readMDL(unsigned char *p, unsigned char *normalized_mdl, int len);
+int mdns_probe_nw_scanners(char* uris_buf, int buf_size, int *count);
#endif // _DISCOVERY_MDNS_H
diff -ur hplip-3.18.12-orig/scan/sane/hpaio.c hplip-3.18.12/scan/sane/hpaio.c
--- hplip-3.18.12-orig/scan/sane/hpaio.c 2018-12-03 08:10:22.000000000 +0100
+++ hplip-3.18.12/scan/sane/hpaio.c 2018-12-08 14:58:23.952963358 +0100
@@ -45,6 +45,7 @@
#include "sclpml.h"
#include "escl.h"
#include "io.h"
+#include "mdns.h"
#include "orblitei.h"
Only in hplip-3.18.12/scan/sane: hpaio.c.orig
Only in hplip-3.18.12/scan/sane: hpaio.c.rej
diff -ur hplip-3.18.12-orig/scan/sane/http.c hplip-3.18.12/scan/sane/http.c
--- hplip-3.18.12-orig/scan/sane/http.c 2018-12-03 08:10:22.000000000 +0100
+++ hplip-3.18.12/scan/sane/http.c 2018-12-08 14:56:28.789872019 +0100
@@ -33,6 +33,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <string.h>
#include <syslog.h>
#include <ctype.h>