FreeBSD Bugzilla – Attachment 74870 Details for
Bug 108232
[PATCH] graphics/svgalib: fix on gcc4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svgalib-1.4.3_5.patch
svgalib-1.4.3_5.patch (text/plain), 1.40 KB, created by
Rong-En Fan
on 2007-01-23 05:00:34 UTC
(
hide
)
Description:
svgalib-1.4.3_5.patch
Filename:
MIME Type:
Creator:
Rong-En Fan
Created:
2007-01-23 05:00:34 UTC
Size:
1.40 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /big/freebsd-cvsup/ncvs/ports/graphics/svgalib/Makefile,v >retrieving revision 1.20 >diff -u -u -r1.20 Makefile >--- Makefile 4 Oct 2006 00:02:05 -0000 1.20 >+++ Makefile 23 Jan 2007 04:53:41 -0000 >@@ -15,7 +15,7 @@ > COMMENT= A low level console graphics library > > USE_GMAKE= yes >-INSTALLS_SHLIB= yes >+USE_LDCONFIG= yes > MANCOMPRESSED= yes > > ALL_TARGET= shared static >Index: files/patch-utils-gtf-gtfcalc.c >=================================================================== >RCS file: files/patch-utils-gtf-gtfcalc.c >diff -N files/patch-utils-gtf-gtfcalc.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-utils-gtf-gtfcalc.c 23 Jan 2007 04:53:41 -0000 >@@ -0,0 +1,23 @@ >+--- utils/gtf/gtfcalc.c.orig Tue Jan 23 12:48:50 2007 >++++ utils/gtf/gtfcalc.c Tue Jan 23 12:49:18 2007 >+@@ -45,6 +45,7 @@ >+ #include <string.h> >+ #include <ctype.h> >+ #include <math.h> >++#include <sys/param.h> >+ #include "gtf.h" >+ >+ /*------------------------- Global Variables ------------------------------*/ >+@@ -64,10 +65,12 @@ >+ >+ /*-------------------------- Implementation -------------------------------*/ >+ >++#if __FreeBSD_version < 503000 >+ static double round(double v) >+ { >+ return floor(v + 0.5); >+ } >++#endif >+ >+ static void GetInternalConstants(GTF_constants *c) >+ /****************************************************************************
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 108232
: 74870