Re: [patch] 0.9.7: fix compilation
dsuffiel <[email protected]> Tue, 06 Dec 2005 13:29:38 -0800
| Newsgroups | gmane.linux.drivers.hpofficejet.devel |
|---|---|
| Message-ID | <[email protected]> |
I have posted the following patch at hpinkjet.sf.net in the project files= area. The HPLIP 0.9.7-2 patch fixes the following issues.=20 1. Photosmart 2570 series blue screen error.=20 2. GetDeviceStatus overwrite in hpiod. (RH patch)=20 3. SuperB margin issue with OJ K550, OJ K850 and DJ9800.=20 4. _GNU_SOURCE define in hpaio.h. (RH patch) How to apply the patch: cd hplip-0.9.7 patch -p1 < hplip-0.9.7-2.patch ./configure --prefix=3D/usr make clean make make install -dave On Fri, 25 Nov 2005 13:54:27 +0000, Tim Waugh wrote: > Hi, >=20 > I needed this patch to fix compilation against current glibc in Fedora > Core devel. >=20 > Tim. > */ >=20 > --- hplip-0.9.6/scan/sane/hpaio.h.compile 2005-11-18 12:02:11.000000000= +0000 > +++ hplip-0.9.6/scan/sane/hpaio.h 2005-11-18 12:02:30.000000000 +0000 > @@ -31,8 +31,8 @@ > =20 > #include <stdio.h> > =20 > -#ifndef __USE_GNU > -#define __USE_GNU > +#ifndef _GNU_SOURCE > +#define _GNU_SOURCE > #endif > =20 > #include <sys/time.h> >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log = files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick