[MagicPoint] Fix FTBFS (rhbz#1001694)

Hans de Goede jwrdegoede at fedoraproject.org
Tue Aug 27 15:38:34 UTC 2013


commit fded00c0aa505193e702876b6677cc2185d3b849
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Tue Aug 27 17:38:22 2013 +0200

    Fix FTBFS (rhbz#1001694)

 MagicPoint.spec            |    9 +++++++--
 magicpoint-1.13a-mng.patch |   11 +++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/MagicPoint.spec b/MagicPoint.spec
index 3eb2895..1295b5f 100644
--- a/MagicPoint.spec
+++ b/MagicPoint.spec
@@ -1,6 +1,6 @@
 Name:           MagicPoint
 Version:        1.13a
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        X based presentation software
 Group:          Applications/Productivity
 License:        BSD
@@ -12,6 +12,7 @@ Patch2:         magicpoint-1.11b-embed.patch
 Patch3:         magicpoint-1.13a-gcc-warnings.patch
 Patch4:         magicpoint-1.13a-xwintoppm.patch
 Patch5:         magicpoint-1.13a-m17n.patch
+Patch6:         magicpoint-1.13a-mng.patch
 BuildRequires:  giflib-devel libpng-devel libmng-devel fontconfig-devel 
 BuildRequires:  imlib-devel libXmu-devel libXft-devel m17n-lib-devel
 BuildRequires:  imake bison flex perl sharutils
@@ -33,6 +34,7 @@ create presentation files quickly with your favorite editor.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 
 %build
@@ -60,6 +62,9 @@ rm sample/.cvsignore sample/*akefile*
 
 
 %changelog
+* Tue Aug 27 2013 Hans de Goede <hdegoede at redhat.com> - 1.13a-10
+- Fix FTBFS (rhbz#1001694)
+
 * Tue Aug 27 2013 Jon Ciesla <limburgher at gmail.com> - 1.13a-9
 - libmng rebuild.
 
@@ -270,7 +275,7 @@ rm sample/.cvsignore sample/*akefile*
 * Thu Apr 15 1999 Michael Maher <mike at redhat.com>
 - built package for 6.0
 
-* Fri Oct 08 1998 Michael Maher <mike at redhat.com> 
+* Thu Oct 08 1998 Michael Maher <mike at redhat.com> 
 - updated source to 1.04a
 - built for 5.2
 
diff --git a/magicpoint-1.13a-mng.patch b/magicpoint-1.13a-mng.patch
new file mode 100644
index 0000000..3c844ed
--- /dev/null
+++ b/magicpoint-1.13a-mng.patch
@@ -0,0 +1,11 @@
+diff -up magicpoint-1.13a/mng.c~ magicpoint-1.13a/mng.c
+--- magicpoint-1.13a/mng.c~	2004-09-01 05:50:32.000000000 +0200
++++ magicpoint-1.13a/mng.c	2013-08-27 17:37:16.338296945 +0200
+@@ -24,6 +24,7 @@
+ 
+ #ifdef MNG
+ 
++#include <stdio.h>
+ #include <sys/time.h>
+ #include <libmng.h>
+ #include "mgp.h"


More information about the scm-commits mailing list