Another missing newline in filter output (Ubuntu #418053).
This commit is contained in:
parent
7ba5478f32
commit
d5c7c97b54
12
hplip-newline.patch
Normal file
12
hplip-newline.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up hplip-3.10.9/prnt/hpcups/HPCupsFilter.cpp.newline hplip-3.10.9/prnt/hpcups/HPCupsFilter.cpp
|
||||||
|
--- hplip-3.10.9/prnt/hpcups/HPCupsFilter.cpp.newline 2010-12-14 15:10:25.730407116 +0000
|
||||||
|
+++ hplip-3.10.9/prnt/hpcups/HPCupsFilter.cpp 2010-12-14 15:11:27.343440547 +0000
|
||||||
|
@@ -608,7 +608,7 @@ int HPCupsFilter::processRasterData(cups
|
||||||
|
WriteBMPHeader (kfp, cups_header.cupsWidth, cups_header.cupsHeight, BLACK_RASTER);
|
||||||
|
}
|
||||||
|
|
||||||
|
- fprintf(stderr, "PAGE: %d %s", current_page_number, m_argv[4]);
|
||||||
|
+ fprintf(stderr, "PAGE: %d %s\n", current_page_number, m_argv[4]);
|
||||||
|
// Iterating through the raster per page
|
||||||
|
for (int y = 0; y < (int) cups_header.cupsHeight; y++) {
|
||||||
|
cupsRasterReadPixels (cups_raster, m_pPrinterBuffer, cups_header.cupsBytesPerLine);
|
@ -45,6 +45,7 @@ Patch28: hplip-fab-root-crash.patch
|
|||||||
Patch29: hplip-addprinter.patch
|
Patch29: hplip-addprinter.patch
|
||||||
Patch30: hplip-dbus-exception.patch
|
Patch30: hplip-dbus-exception.patch
|
||||||
Patch31: hplip-hpaio-segfault.patch
|
Patch31: hplip-hpaio-segfault.patch
|
||||||
|
Patch32: hplip-newline.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -280,6 +281,9 @@ done
|
|||||||
# Prevent hpaio segfaulting on invalid URIs (bug #649092).
|
# Prevent hpaio segfaulting on invalid URIs (bug #649092).
|
||||||
%patch31 -p1 -b .hpaio-segfault
|
%patch31 -p1 -b .hpaio-segfault
|
||||||
|
|
||||||
|
# Another missing newline in filter output (Ubuntu #418053).
|
||||||
|
%patch32 -p1 -b .newline
|
||||||
|
|
||||||
sed -i.duplex-constraints \
|
sed -i.duplex-constraints \
|
||||||
-e 's,\(UIConstraints.* \*Duplex\),//\1,' \
|
-e 's,\(UIConstraints.* \*Duplex\),//\1,' \
|
||||||
prnt/drv/hpcups.drv.in
|
prnt/drv/hpcups.drv.in
|
||||||
@ -506,7 +510,8 @@ fi
|
|||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Dec 13 2010 Tim Waugh <twaugh@redhat.com> - 3.10.9-9
|
* Tue Dec 14 2010 Tim Waugh <twaugh@redhat.com> - 3.10.9-9
|
||||||
|
- Another missing newline in filter output (Ubuntu #418053).
|
||||||
- Prevent hpaio segfaulting on invalid URIs (bug #649092).
|
- Prevent hpaio segfaulting on invalid URIs (bug #649092).
|
||||||
- Catch D-Bus exceptions in fax dialog (bug #645316).
|
- Catch D-Bus exceptions in fax dialog (bug #645316).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user