rpms/ptouch-driver/devel ptouch-driver-1.2-gcc43.patch, NONE, 1.1 ptouch-driver.spec, 1.8, 1.9
Lubomir Kundrak (lkundrak)
fedora-extras-commits at redhat.com
Wed Feb 13 17:48:36 UTC 2008
Author: lkundrak
Update of /cvs/pkgs/rpms/ptouch-driver/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15893/devel
Modified Files:
ptouch-driver.spec
Added Files:
ptouch-driver-1.2-gcc43.patch
Log Message:
Fixes for gcc-4.3
ptouch-driver-1.2-gcc43.patch:
--- NEW FILE ptouch-driver-1.2-gcc43.patch ---
The STL headers in gcc-4.3 have been cleaned up, so that the headers don't drag in
unnecessary dependencies which aren't requested by the standard.
This fixes build for gcc-4.3
Lubomir Kundrak <lkundrak at redhat.com>
diff -urp ptouch-driver-1.2.orig/rastertoptch.c ptouch-driver-1.2/rastertoptch.c
--- ptouch-driver-1.2.orig/rastertoptch.c 2006-09-08 16:39:27.000000000 +0200
+++ ptouch-driver-1.2/rastertoptch.c 2008-02-13 16:37:13.000000000 +0100
@@ -311,6 +311,7 @@
#include <math.h>
#include <cups/raster.h>
#include <cups/cups.h>
+#include <limits.h>
#if STDC_HEADERS
# include <string.h>
Index: ptouch-driver.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ptouch-driver/devel/ptouch-driver.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ptouch-driver.spec 22 Aug 2007 11:22:18 -0000 1.8
+++ ptouch-driver.spec 13 Feb 2008 17:48:01 -0000 1.9
@@ -1,12 +1,13 @@
Name: ptouch-driver
Version: 1.2
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: CUPS driver for Brother P-touch label printers
Group: System Environment/Libraries
License: GPLv2+
URL: http://www.diku.dk/~panic/P-touch/
Source0: http://www.diku.dk/~panic/P-touch/%{name}-%{version}.tar.gz
+Patch0: ptouch-driver-1.2-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cups-devel
BuildRequires: automake
@@ -19,6 +20,7 @@
%prep
%setup -q
+%patch0 -p1 -b .gcc43
%build
# On 64bits, we need to install into lib, not lib64
@@ -39,6 +41,9 @@
%doc AUTHORS ChangeLog COPYING NEWS README
%changelog
+* Wed Feb 13 2008 Lubomir Kundrak <lkundrak at redhat.com> 1.2-9
+- Fix build with gcc-4.3
+
* Wed Aug 22 2007 Lubomir Kundrak <lkundrak at redhat.com> 1.2-8
- Bump revision for BuildID in -debuginfo rebuild
More information about the fedora-extras-commits
mailing list