forked from Lainports/freebsd-ports
- Convert post-patch to real patches because they are easier to maintain. - Fix a NULL dereference in the scanner backend when D-Bus isn't running. - Depend on sysutils/py-distro to make hp-toolbox (Device Manager) work again. - Upstream switched to Avahi for mDNS support. Rename the SNMP option to NETWORK because it's not just SNMP now. - Don't install some programs related to uninstalling and upgrading of HPLIP and the installation of firmware plugins because they circumvent the package system. - Install icons in share/icons so desktops can choose an appropriate resolution. Portions taken from a patch by Oleg Sidorkin <osidorkin@gmail.com>. PR: 255586, 257034, 257512
11 lines
337 B
C
11 lines
337 B
C
--- prnt/backend/hp.c.orig 2022-02-23 07:41:04 UTC
|
|
+++ prnt/backend/hp.c
|
|
@@ -649,7 +649,7 @@ static FILE* create_out_file(char* job_id, char* user_
|
|
|
|
if (temp_fp)
|
|
{
|
|
- chmod(fname, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH);
|
|
+ chmod(fname, S_IRUSR | S_IWUSR | S_IRGRP | 0 | S_IROTH);
|
|
}
|
|
else
|
|
{
|