aboutsummaryrefslogtreecommitdiff
path: root/graphics/svgalib
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2011-07-14 15:54:25 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2011-07-14 15:54:25 +0000
commitcdbf1f014d08862e7422d96435a3c3fd60fcc6ae (patch)
treec13c1cb4a44bc43e2161e82bee63f906828a715e /graphics/svgalib
parent0475e97eee297067c865535a7fa0063d0a06ecf6 (diff)
downloadports-cdbf1f014d08862e7422d96435a3c3fd60fcc6ae.tar.gz
ports-cdbf1f014d08862e7422d96435a3c3fd60fcc6ae.zip
Notes
Diffstat (limited to 'graphics/svgalib')
-rw-r--r--graphics/svgalib/files/patch-utils-convfont.c11
-rw-r--r--graphics/svgalib/files/patch-utils-fix132x43.c11
-rw-r--r--graphics/svgalib/files/patch-utils-gtf-gtfcalc.c13
-rw-r--r--graphics/svgalib/files/patch-utils-restorefont.c11
-rw-r--r--graphics/svgalib/files/patch-utils-restorepalette.c11
-rw-r--r--graphics/svgalib/files/patch-utils-restoretextmode.c11
-rw-r--r--graphics/svgalib/files/patch-utils-setmclk.c13
7 files changed, 79 insertions, 2 deletions
diff --git a/graphics/svgalib/files/patch-utils-convfont.c b/graphics/svgalib/files/patch-utils-convfont.c
new file mode 100644
index 000000000000..3fb197a9ec04
--- /dev/null
+++ b/graphics/svgalib/files/patch-utils-convfont.c
@@ -0,0 +1,11 @@
+--- utils/convfont.c.orig 2011-07-01 01:39:01.000000000 +0200
++++ utils/convfont.c 2011-07-01 01:39:11.000000000 +0200
+@@ -14,7 +14,7 @@
+ FILE *tf;
+
+
+-void
++int
+ main (int argc, char **argv)
+ {
+ int i;
diff --git a/graphics/svgalib/files/patch-utils-fix132x43.c b/graphics/svgalib/files/patch-utils-fix132x43.c
new file mode 100644
index 000000000000..1f11afbf574f
--- /dev/null
+++ b/graphics/svgalib/files/patch-utils-fix132x43.c
@@ -0,0 +1,11 @@
+--- utils/fix132x43.c.orig 2011-07-01 01:43:39.000000000 +0200
++++ utils/fix132x43.c 2011-07-01 01:43:55.000000000 +0200
+@@ -54,7 +54,7 @@
+ static void fixfont (int);
+
+
+-void
++int
+ main (int argc, char *argv[])
+ {
+ int vgaIOBase;
diff --git a/graphics/svgalib/files/patch-utils-gtf-gtfcalc.c b/graphics/svgalib/files/patch-utils-gtf-gtfcalc.c
index 199ebe268d94..6b3002afea8e 100644
--- a/graphics/svgalib/files/patch-utils-gtf-gtfcalc.c
+++ b/graphics/svgalib/files/patch-utils-gtf-gtfcalc.c
@@ -1,5 +1,5 @@
---- utils/gtf/gtfcalc.c.orig Tue Jan 23 12:48:50 2007
-+++ utils/gtf/gtfcalc.c Tue Jan 23 12:49:18 2007
+--- utils/gtf/gtfcalc.c.orig 1999-07-17 14:13:02.000000000 +0200
++++ utils/gtf/gtfcalc.c 2011-07-01 01:48:14.000000000 +0200
@@ -45,6 +45,7 @@
#include <string.h>
#include <ctype.h>
@@ -21,3 +21,12 @@
static void GetInternalConstants(GTF_constants *c)
/****************************************************************************
+@@ -329,7 +332,7 @@
+
+ #ifdef TESTING_GTF
+
+-void main(int argc,char *argv[])
++int main(int argc,char *argv[])
+ {
+ FILE *f;
+ double xPixels,yPixels,freq;
diff --git a/graphics/svgalib/files/patch-utils-restorefont.c b/graphics/svgalib/files/patch-utils-restorefont.c
new file mode 100644
index 000000000000..948149ad43ad
--- /dev/null
+++ b/graphics/svgalib/files/patch-utils-restorefont.c
@@ -0,0 +1,11 @@
+--- utils/restorefont.c.orig 2011-07-01 01:35:42.000000000 +0200
++++ utils/restorefont.c 2011-07-01 01:36:05.000000000 +0200
+@@ -11,7 +11,7 @@
+ * given up). This means that there is no major security hole lurking here.
+ */
+
+-void main(int argc, char *argv[])
++int main(int argc, char *argv[])
+ {
+ FILE *f;
+ unsigned char *font;
diff --git a/graphics/svgalib/files/patch-utils-restorepalette.c b/graphics/svgalib/files/patch-utils-restorepalette.c
new file mode 100644
index 000000000000..8047dcb7cc74
--- /dev/null
+++ b/graphics/svgalib/files/patch-utils-restorepalette.c
@@ -0,0 +1,11 @@
+--- utils/restorepalette.c.orig 2011-07-01 01:41:50.000000000 +0200
++++ utils/restorepalette.c 2011-07-01 01:42:17.000000000 +0200
+@@ -105,7 +105,7 @@
+ }
+ }
+
+-void
++int
+ main (int argc, char *argv[])
+ {
+ int i;
diff --git a/graphics/svgalib/files/patch-utils-restoretextmode.c b/graphics/svgalib/files/patch-utils-restoretextmode.c
new file mode 100644
index 000000000000..efdcd71f595d
--- /dev/null
+++ b/graphics/svgalib/files/patch-utils-restoretextmode.c
@@ -0,0 +1,11 @@
+--- utils/restoretextmode.c.orig 2011-07-01 01:40:19.000000000 +0200
++++ utils/restoretextmode.c 2011-07-01 01:40:32.000000000 +0200
+@@ -14,7 +14,7 @@
+
+ unsigned char regs[MAX_REGS];
+
+-void
++int
+ main (int argc, char *argv[])
+ {
+ vga_init ();
diff --git a/graphics/svgalib/files/patch-utils-setmclk.c b/graphics/svgalib/files/patch-utils-setmclk.c
new file mode 100644
index 000000000000..18d4929e525b
--- /dev/null
+++ b/graphics/svgalib/files/patch-utils-setmclk.c
@@ -0,0 +1,13 @@
+--- utils/setmclk.c.orig 2011-07-01 01:44:52.000000000 +0200
++++ utils/setmclk.c 2011-07-01 01:45:20.000000000 +0200
+@@ -41,8 +41,8 @@
+ #include <vga.h>
+ #include "../src/libvga.h" /* For port I/O macros. */
+
+-void
+-main (void)
++int
++main(void)
+ {
+ vga_init ();
+ if (vga_getcurrentchipset () != CIRRUS)