]> git.pld-linux.org Git - packages/mpage.git/commitdiff
- Fixed a compilation error with a newer gcc
authorqrczak <qrczak@pld-linux.org>
Thu, 15 Feb 2007 20:46:39 +0000 (20:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Release 8

Changed files:
    mpage-incomplete-type.patch -> 1.1
    mpage.spec -> 1.23

mpage-incomplete-type.patch [new file with mode: 0644]
mpage.spec

diff --git a/mpage-incomplete-type.patch b/mpage-incomplete-type.patch
new file mode 100644 (file)
index 0000000..b728b2f
--- /dev/null
@@ -0,0 +1,20 @@
+--- mpage-2.5.1/mpage.h~       1998-03-24 23:07:58.000000000 +0100
++++ mpage-2.5.1/mpage.h        2007-02-15 21:43:42.000000000 +0100
+@@ -159,7 +159,6 @@
+ 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 */
+-extern struct page_desc paper[];
+ /*
+  * a sheet describes the measurements and orientatation of a page for
+@@ -208,7 +207,8 @@
+     int width;
+     int height;
+ };
+-    
++
++extern struct page_desc paper[];
+ /* array of sheets where pages are ordered for coli ??? */
+ extern struct sheet coli[];
index 4f0a8820e24ad300f360b70729feb7c9d94ce475..4b1b4bd3647d1922cc636a132ac598c8dafddf22 100644 (file)
@@ -5,7 +5,7 @@ Summary(pl.UTF-8):      Narzędzie pozwalające umieścić wiele stron na jednym wydr
 Summary(tr.UTF-8):     Birden fazla metin sayfasını tek bir PostScript sayfasına yerleştirir
 Name:          mpage
 Version:       2.5.1
-Release:       7
+Release:       8
 License:       BSD
 Group:         Applications/Publishing
 Source0:       http://www.mesa.nl/pub/mpage/%{name}251pre.tgz
@@ -16,6 +16,7 @@ Patch2:               %{name}-debian.patch
 Patch3:                %{name}-tempfile.patch
 Patch4:                %{name}-j.patch
 Patch5:                %{name}-level3.patch
+Patch6:                %{name}-incomplete-type.patch
 URL:           http://www.mesa.nl/index_e.html
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -58,6 +59,7 @@ olanak verir.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 %{__make} \
This page took 0.415314 seconds and 4 git commands to generate.