[Mosaic] remember to add patch

Leigh Scott leigh123linux at rpmfusion.org
Mon Aug 15 19:16:39 CEST 2016


commit 283dea3102918167147fce55279afa2be77cce6f
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Mon Aug 15 18:16:18 2016 +0100

    remember to add patch

 Mosaic-2.7b5-gcc-compile.patch | 21 +++++++++++++++++++++
 Mosaic.spec                    |  2 ++
 2 files changed, 23 insertions(+)
---
diff --git a/Mosaic-2.7b5-gcc-compile.patch b/Mosaic-2.7b5-gcc-compile.patch
new file mode 100644
index 0000000..0cd9200
--- /dev/null
+++ b/Mosaic-2.7b5-gcc-compile.patch
@@ -0,0 +1,21 @@
+--- a/src/newsrc.c
++++ b/src/newsrc.c
+@@ -756,7 +756,7 @@
+   }
+ 
+   while (fgets (b,MAX_BUF,new)) 
+-    fprintf (old, b);
++    fprintf (old,"%s", b);
+ 
+   fclose (old);
+   fclose (new);
+@@ -854,7 +854,7 @@
+     seq[0] = 0;
+     newsrc_writeseq (n,seq,MAX_BUF);
+     sprintf (b, "%s%c %s\n", n->name, (n->attribs&naSUBSCRIBED)?':':'!', seq);
+-    fprintf (new, b);
++    fprintf (new,"%s", b);
+     n->attribs &= ~(naUPDATE);
+     n = nextgroup (n);
+   }
+
diff --git a/Mosaic.spec b/Mosaic.spec
index fe4b48f..58cf15e 100644
--- a/Mosaic.spec
+++ b/Mosaic.spec
@@ -21,6 +21,7 @@ BuildRequires:  openmotif-devel
 BuildRequires:  libjpeg-devel libpng-devel
 BuildRequires:  autoconf ImageMagick desktop-file-utils
 BuildRequires:  libXmu-devel
+Requires:  xv
 
 %description
 Mosaic is a web browser and client for protocols such as FTP, Usenet, and
@@ -82,6 +83,7 @@ desktop-file-install %{SOURCE1} \
 * Mon Aug 15 2016 Leigh Scott <leigh123linux at googlemail.com> - 2.7-0.5.b5
 - Patch for libpng changes
 - Patch for gcc changes
+- Add Requires xv
 
 * Thu Feb 09 2012 Nicolas Chauvet <kwizart at gmail.com> - 2.7-0.4.b5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild


More information about the rpmfusion-commits mailing list