packages: svgalib/svgalib.spec, svgalib/svgalib-build_fix.patch (NEW) - fix...

hawk hawk at pld-linux.org
Thu Jul 23 20:29:09 CEST 2009


Author: hawk                         Date: Thu Jul 23 18:29:09 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed build error

---- Files affected:
packages/svgalib:
   svgalib.spec (1.250 -> 1.251) , svgalib-build_fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/svgalib/svgalib.spec
diff -u packages/svgalib/svgalib.spec:1.250 packages/svgalib/svgalib.spec:1.251
--- packages/svgalib/svgalib.spec:1.250	Sun Jul 12 21:18:07 2009
+++ packages/svgalib/svgalib.spec	Thu Jul 23 20:29:03 2009
@@ -17,7 +17,7 @@
 %endif
 
 %define		pname	svgalib
-%define		rel		70
+%define		rel		71
 Summary:	Library for full screen [S]VGA graphics
 Summary(de.UTF-8):	Library für Vollbildschirm-[S]VGA-Grafiken
 Summary(es.UTF-8):	Biblioteca para gráficos en pantalla llena [S]VGA
@@ -56,6 +56,7 @@
 Patch18:	%{pname}-2.6.26.patch
 Patch19:	%{pname}-2.6.27.patch
 Patch20:	%{pname}-2.6.28.patch
+Patch21:	%{pname}-build_fix.patch
 URL:		http://www.arava.co.il/matan/svgalib/
 %if %{with kernel} && %{with dist_kernel}
 BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.20.2
@@ -267,6 +268,7 @@
 %patch18 -p1
 %patch19 -p1
 %patch20 -p1
+%patch21 -p1
 
 # remove backup of svgalib.7 - we don't want it in package
 rm -f doc/man7/svgalib.7?*
@@ -391,6 +393,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.251  2009/07/23 18:29:03  hawk
+- fixed build error
+
 Revision 1.250  2009/07/12 19:18:07  hawk
 - release 70
 

================================================================
Index: packages/svgalib/svgalib-build_fix.patch
diff -u /dev/null packages/svgalib/svgalib-build_fix.patch:1.1
--- /dev/null	Thu Jul 23 20:29:09 2009
+++ packages/svgalib/svgalib-build_fix.patch	Thu Jul 23 20:29:03 2009
@@ -0,0 +1,12 @@
+diff -ur svgalib-1.9.25.orig/utils/gtf/gtfcalc.c svgalib-1.9.25/utils/gtf/gtfcalc.c
+--- svgalib-1.9.25.orig/utils/gtf/gtfcalc.c	2005-07-10 21:33:16.000000000 +0200
++++ svgalib-1.9.25/utils/gtf/gtfcalc.c	2009-07-23 20:23:02.731643196 +0200
+@@ -64,7 +64,7 @@
+ 
+ /*-------------------------- Implementation -------------------------------*/
+ 
+-static double round(double v)
++double round(double v)
+ {
+ 	return floor(v + 0.5);
+ }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/svgalib/svgalib.spec?r1=1.250&r2=1.251&f=u



More information about the pld-cvs-commit mailing list