diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2006-03-17 07:49:14 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2006-03-17 07:49:14 +0000 |
commit | 17598dc4ab3ff1174a9f525d27a6122643b22aa1 (patch) | |
tree | 191118bea01b6939a1cae496c7c4a64d4a590932 /app-text/mpage/files/mpage-2.5.4-gcc4.patch | |
parent | added dependency to net-misc/curl (diff) | |
download | historical-17598dc4ab3ff1174a9f525d27a6122643b22aa1.tar.gz historical-17598dc4ab3ff1174a9f525d27a6122643b22aa1.tar.bz2 historical-17598dc4ab3ff1174a9f525d27a6122643b22aa1.zip |
Add patch to fix compilation with gcc-4; bug #124818
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'app-text/mpage/files/mpage-2.5.4-gcc4.patch')
-rw-r--r-- | app-text/mpage/files/mpage-2.5.4-gcc4.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-text/mpage/files/mpage-2.5.4-gcc4.patch b/app-text/mpage/files/mpage-2.5.4-gcc4.patch new file mode 100644 index 000000000000..6e0cad40a60b --- /dev/null +++ b/app-text/mpage/files/mpage-2.5.4-gcc4.patch @@ -0,0 +1,36 @@ +--- mpage-2.5.4/mpage.h.gcc4 2005-02-17 16:56:35.385185734 +0000 ++++ mpage-2.5.4/mpage.h 2005-02-17 16:57:20.440559802 +0000 +@@ -172,6 +172,16 @@ + extern int ps_width; /* number of points in the X direction (8.5 inches) */ + extern int ps_height; /* number of points in the Y direction (11 inches) */ + extern char * media; /* name of output page media */ ++ ++/* ++ * Structure to describe a physical piece of paper, e.g. A4 or Letter ++ */ ++struct page_desc { ++ char *media; ++ int width; ++ int height; ++}; ++ + extern struct page_desc paper[]; + + /* +@@ -213,16 +223,6 @@ + }; + + +-/* +- * Structure to describe a physical piece of paper, e.g. A4 or Letter +- */ +-struct page_desc { +- char *media; +- int width; +- int height; +-}; +- +- + /* array of sheets where pages are ordered for coli ??? */ + extern struct sheet coli[]; + |