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 | 265d32e83a9f50af4566aa86e1f2b8b63da4a886 (patch) | |
tree | a14a7a74841d6300aa950d969807f1b3049c5dbe /app-text/mpage/files | |
parent | added dependency to net-misc/curl (diff) | |
download | gentoo-2-265d32e83a9f50af4566aa86e1f2b8b63da4a886.tar.gz gentoo-2-265d32e83a9f50af4566aa86e1f2b8b63da4a886.tar.bz2 gentoo-2-265d32e83a9f50af4566aa86e1f2b8b63da4a886.zip |
Add patch to fix compilation with gcc-4; bug #124818
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'app-text/mpage/files')
-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[]; + |