pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: problems with hplip package
On Wed, Aug 26, 2026 at 10:32:56PM +0100, Dave Tyson wrote:
> OK that fixed the problem! Thanks for your input! The patch files I
> used are below:
Thanks for testing, I've committed the patches.
> One thing which has always caused a problem for me with this package is
> that as installed it fails to find printers and I found the issue was
> in mdns.py and slp.py.
>
> Both these files contain a line:
>
> s.setsockopt(socket.SOL_IP, socket.IP_MULTICAST_IF,
> socket.inet_aton(intf) + socket.inet_aton('0.0.0.0'))
>
> which causes problems. Replacing the line with:
>
> s.setsockopt(socket.SOL_IP, socket.IP_MULTICAST_IF,
> socket.inet_aton(intf))
>
> fixes the problem. I have never bothered to report this - I just
> manually patch the files in /usr/pkg/share/hplip/base. Maybe see if
> anyone else sees/reports this problem...
This doesn't make sense to me either, so I've fixed it as you
suggested and committed that as well.
When you're bored, you could take a look at updating the
package/feeding the patches upstream, pkgsrc doesn't have the latest
version.
Thanks,
Thomas
Home |
Main Index |
Thread Index |
Old Index