Compilation Error in hplip-3.19.6: hppsfilter.c

Bug #1840490 reported by David
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

When attempting to build hplip-3.19.6 using the ebuild from gentoo, there is a compilation error in prnt/hpcups/hppsfilter.c :

prnt/hpps/hppsfilter.c:107:13: error: void function 'open_tempbookletfile' should not return a value
      [-Wreturn-type]
            return 1;
            ^ ~

This is a simple error in which a void function is attempting to return a value. I've attached a patch which fixes the issue and allows hplip to successfully build using emerge.

Gentoo ebuild:
https://gitweb.gentoo.org/repo/gentoo.git/tree/net-print/hplip/hplip-3.19.6.ebuild

Revision history for this message
David (daviev) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.