Fix QA warnings
authorAlin Năstac <mrness@gentoo.org>
Sun, 15 Apr 2007 09:12:02 +0000 (09:12 +0000)
committerAlin Năstac <mrness@gentoo.org>
Sun, 15 Apr 2007 09:12:02 +0000 (09:12 +0000)
Package-Manager: portage-2.1.2.2

net-dialup/mgetty/ChangeLog
net-dialup/mgetty/Manifest
net-dialup/mgetty/files/mgetty-1.1.35-gentoo.patch
net-dialup/mgetty/files/mgetty-1.1.35-implicit-decl.patch [new file with mode: 0644]
net-dialup/mgetty/mgetty-1.1.35-r2.ebuild

index 80f898fbc24ac68c1186237f7bd2648672c9c258..59f5ee24d44d4009eb083259f505574bc43c4473 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-dialup/mgetty
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.71 2007/02/10 08:46:06 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.72 2007/04/15 09:12:02 mrness Exp $
+
+  15 Apr 2007; Alin Năstac <mrness@gentoo.org>
+  files/mgetty-1.1.35-gentoo.patch,
+  +files/mgetty-1.1.35-implicit-decl.patch, mgetty-1.1.35-r2.ebuild:
+  Fix QA warnings.
 
   10 Feb 2007; Alin Năstac <mrness@gentoo.org>
   -files/mgetty-1.1.33-callback.diff, -files/mgetty-1.1.33-gentoo.diff,
index 01cedd91ac3e1141ccb9b034e57b4164d4892c7f..c582801c02d5b8aaa89eaaf4d272dc1c587358ba 100644 (file)
@@ -13,10 +13,14 @@ AUX mgetty-1.1.35-faxrunq.patch 1428 RMD160 7e1937d2b062d31f1506724674cb974be5a1
 MD5 ef359bb8e8d6bd6b5f4e5373b0b4bd91 files/mgetty-1.1.35-faxrunq.patch 1428
 RMD160 7e1937d2b062d31f1506724674cb974be5a122ff files/mgetty-1.1.35-faxrunq.patch 1428
 SHA256 d4acd08a404393f54a996e032e9afce5cf925643c1a8433313e9b0281e7dd7da files/mgetty-1.1.35-faxrunq.patch 1428
-AUX mgetty-1.1.35-gentoo.patch 933 RMD160 fb13171fb61f236d99d53a6245ef900a7fb28047 SHA1 419e29b5166ff2d7e5035d0cbe45ff0ad5a000d1 SHA256 f108cf075996748b55f42b31e6e1cacc07669fc2140a5a51f4aecbaf88302941
-MD5 b3c49e2689ed9e1f4abd8d9c0a160a4f files/mgetty-1.1.35-gentoo.patch 933
-RMD160 fb13171fb61f236d99d53a6245ef900a7fb28047 files/mgetty-1.1.35-gentoo.patch 933
-SHA256 f108cf075996748b55f42b31e6e1cacc07669fc2140a5a51f4aecbaf88302941 files/mgetty-1.1.35-gentoo.patch 933
+AUX mgetty-1.1.35-gentoo.patch 3187 RMD160 54a6734ad15a4494790fdee9409e73ec1fb38f8c SHA1 94fba4ecbc8f62de03fc20d0ea6907d4091c7be9 SHA256 7c902c486c27d7f45159806a38767938df67828eb4ed7a0a6a3312ea28cd1c42
+MD5 12f038c43795913e35b578ad89196e48 files/mgetty-1.1.35-gentoo.patch 3187
+RMD160 54a6734ad15a4494790fdee9409e73ec1fb38f8c files/mgetty-1.1.35-gentoo.patch 3187
+SHA256 7c902c486c27d7f45159806a38767938df67828eb4ed7a0a6a3312ea28cd1c42 files/mgetty-1.1.35-gentoo.patch 3187
+AUX mgetty-1.1.35-implicit-decl.patch 710 RMD160 4c254bb5d1ab0a7c403dc8c56fb5be35c09c8198 SHA1 7b12243abb463fa7dcd2c14683a43e30fe297e8e SHA256 a6cef9ce12bed51a0c581ecac5735496f47d0d3a75d4a3c74557c61a7e8c4826
+MD5 0f0959c4b2b70d204bbb4db4b6b0691a files/mgetty-1.1.35-implicit-decl.patch 710
+RMD160 4c254bb5d1ab0a7c403dc8c56fb5be35c09c8198 files/mgetty-1.1.35-implicit-decl.patch 710
+SHA256 a6cef9ce12bed51a0c581ecac5735496f47d0d3a75d4a3c74557c61a7e8c4826 files/mgetty-1.1.35-implicit-decl.patch 710
 AUX mgetty-1.1.35-netpbm-collision.patch 3192 RMD160 6aa96f41f97f436af2d38ea8a9b18ab67a375a78 SHA1 e945e2ab9a09defd46f491e377058f7081aeb1cf SHA256 6dfa157007628638c229611821223a3a450b34185fa41d18033ff046054d0ec1
 MD5 ac7b9e4194be605731b25fb45d90e8f9 files/mgetty-1.1.35-netpbm-collision.patch 3192
 RMD160 6aa96f41f97f436af2d38ea8a9b18ab67a375a78 files/mgetty-1.1.35-netpbm-collision.patch 3192
@@ -26,14 +30,14 @@ MD5 27565fcde66bcc4c9741fd88dea30d04 files/mgetty-1.1.35-strerror.patch 1573
 RMD160 b3b973247539545f90adee99efb50cc53ab0828a files/mgetty-1.1.35-strerror.patch 1573
 SHA256 fa3d890c6aee0291db1faf4f1622919b099f42d697a8fcd5079b96eb3c057a40 files/mgetty-1.1.35-strerror.patch 1573
 DIST mgetty1.1.35-Feb22.tar.gz 1023412 RMD160 835fc090835e3838e7d4c77a7f06a4c59869b3ab SHA1 27f46d22cbcfeac8c434d1784462a05f7425a57e SHA256 0846bfdc49f535842be033a3080b2b08499fabeec8de644c34470243d799f928
-EBUILD mgetty-1.1.35-r2.ebuild 4933 RMD160 37485765221fb8750d2839254e264b7e305750bf SHA1 62046afcb9018e59b33e7bf6c20554532c8c35d6 SHA256 8dc1e2ec85503d5d0ab0927291a1e3e6cddc667884bbcadb9f3a2bd000b0913e
-MD5 17137fd16002e55de54f4ccae92679f9 mgetty-1.1.35-r2.ebuild 4933
-RMD160 37485765221fb8750d2839254e264b7e305750bf mgetty-1.1.35-r2.ebuild 4933
-SHA256 8dc1e2ec85503d5d0ab0927291a1e3e6cddc667884bbcadb9f3a2bd000b0913e mgetty-1.1.35-r2.ebuild 4933
-MISC ChangeLog 11002 RMD160 790ddbc26da0fdee8c6d7432e73bafcb9442a204 SHA1 5ba9aab88dd7a09c4ac973d885a824f622abfae8 SHA256 03ba530deb7411a4031fccfa65e390282b8076d87d9d192338c6c195130c6d86
-MD5 82f5ef72fef24295752322be8c3b85de ChangeLog 11002
-RMD160 790ddbc26da0fdee8c6d7432e73bafcb9442a204 ChangeLog 11002
-SHA256 03ba530deb7411a4031fccfa65e390282b8076d87d9d192338c6c195130c6d86 ChangeLog 11002
+EBUILD mgetty-1.1.35-r2.ebuild 4980 RMD160 212d195d038cd289cc44be4dc87616b66d8a1eeb SHA1 7f3f0219767334cf76b8462fa6e8cd301f526ad2 SHA256 0cc493ed65e6d9c458942b159a363e870e60707c2ae3e63783273c9be47c2407
+MD5 6c696726718f542e5ceee9d606751c7b mgetty-1.1.35-r2.ebuild 4980
+RMD160 212d195d038cd289cc44be4dc87616b66d8a1eeb mgetty-1.1.35-r2.ebuild 4980
+SHA256 0cc493ed65e6d9c458942b159a363e870e60707c2ae3e63783273c9be47c2407 mgetty-1.1.35-r2.ebuild 4980
+MISC ChangeLog 11175 RMD160 2e02a7829ac84d9c5f4d4117bc78599516ad3269 SHA1 598728f2aa8083243127104d8375f02589bda0a1 SHA256 2c4fe9fd27dfa1c2bd17133c4a6a2a8a99284b43f29db6bac2d77d4899625d9c
+MD5 db3329cac9c8954a4c9f91199e25aded ChangeLog 11175
+RMD160 2e02a7829ac84d9c5f4d4117bc78599516ad3269 ChangeLog 11175
+SHA256 2c4fe9fd27dfa1c2bd17133c4a6a2a8a99284b43f29db6bac2d77d4899625d9c ChangeLog 11175
 MISC metadata.xml 377 RMD160 1f17a6dbb9efe9992b812c253e63d02e93e37223 SHA1 0bde55896c3d1b16d71d1b33fc4b267b35817d5d SHA256 b6756d3fd813f8ff00f96cb472d15c9402e18001d9308dfdef1201369a4f6a6e
 MD5 1bb6061bf8000d07f70ffdd74f5659f4 metadata.xml 377
 RMD160 1f17a6dbb9efe9992b812c253e63d02e93e37223 metadata.xml 377
@@ -42,9 +46,9 @@ MD5 f2918bd35421e6d03f6fbde02874a7bd files/digest-mgetty-1.1.35-r2 259
 RMD160 faffd810fc4a7846ea21a5fcf97c9ee0cd185ff3 files/digest-mgetty-1.1.35-r2 259
 SHA256 9f5c26b6296f9ea4f57a6d08d7bd44d8437108ecdf1032a4e209456db3196f8c files/digest-mgetty-1.1.35-r2 259
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
+Version: GnuPG v2.0.3 (GNU/Linux)
 
-iD8DBQFFzYZaJnxX6mF440QRAv5EAJwN1ED6OKZ7TYeJjaWt6U+kZKB6wwCglSiP
-IxG6NuHqfnQCNi1cIP2wCWE=
-=6vWO
+iD8DBQFGIextJnxX6mF440QRAnpTAKD3kmvzA2WOKRzlfA1q12ZvhuJnugCfaDN1
+C6/Qmc9hsDQCZx8GmkMiuvg=
+=V4GA
 -----END PGP SIGNATURE-----
index 79897e8c7f415e85df8f902f57082359aecea700..32fc2134d2cb0b9232402455c78b8a2684d1e33e 100644 (file)
@@ -1,6 +1,19 @@
+diff -Nru mgetty-1.1.35.orig/callback/Makefile mgetty-1.1.35/callback/Makefile
+--- mgetty-1.1.35.orig/callback/Makefile       2000-08-14 22:33:08.000000000 +0300
++++ mgetty-1.1.35/callback/Makefile    2007-04-15 12:08:09.000000000 +0300
+@@ -40,7 +40,7 @@
+ # install programs
+ #
+ install: all
+-      $(INSTALL) -s -m 700 -o root callback $(SBINDIR)
+-      $(INSTALL) -s -m 4711 -o root ct $(BINDIR)
++      $(INSTALL) -m 700 -o root callback $(SBINDIR)
++      $(INSTALL) -m 4711 -o root ct $(BINDIR)
+ # source modules
 diff -Nru mgetty-1.1.35.orig/doc/mgetty.texi-in mgetty-1.1.35/doc/mgetty.texi-in
 --- mgetty-1.1.35.orig/doc/mgetty.texi-in      2005-12-30 23:43:49.000000000 +0200
-+++ mgetty-1.1.35/doc/mgetty.texi-in   2006-03-12 19:32:41.331701500 +0200
++++ mgetty-1.1.35/doc/mgetty.texi-in   2007-04-15 12:07:02.000000000 +0300
 @@ -19,6 +19,11 @@
  Copyright @copyright{} 1993-2005 Gert Doering
  @end ifinfo
@@ -13,9 +26,56 @@ diff -Nru mgetty-1.1.35.orig/doc/mgetty.texi-in mgetty-1.1.35/doc/mgetty.texi-in
  @titlepage
  @sp 6
  @center @titlefont{mgetty+sendfax}
+diff -Nru mgetty-1.1.35.orig/frontends/X11/viewfax/Makefile mgetty-1.1.35/frontends/X11/viewfax/Makefile
+--- mgetty-1.1.35.orig/frontends/X11/viewfax/Makefile  2004-11-14 22:38:24.000000000 +0200
++++ mgetty-1.1.35/frontends/X11/viewfax/Makefile       2007-04-15 12:07:30.000000000 +0300
+@@ -61,7 +61,7 @@
+ g3hack:               g3hack.c
+ install: viewfax
+-      $(INSTALL) -s -m 755 viewfax $(BINDIR)
++      $(INSTALL) -m 755 viewfax $(BINDIR)
+       $(INSTALL) -m 644 viewfax.man $(MANDIR)/viewfax.1
+       $(INSTALL) -m 644 viewfax.tif $(LIBDIR)
+diff -Nru mgetty-1.1.35.orig/g3/Makefile mgetty-1.1.35/g3/Makefile
+--- mgetty-1.1.35.orig/g3/Makefile     2005-02-27 21:02:16.000000000 +0200
++++ mgetty-1.1.35/g3/Makefile  2007-04-15 12:07:25.000000000 +0300
+@@ -40,7 +40,7 @@
+ # install programs
+ #
+       for f in $(G3_PROGRAMS) ; do \
+-              $(INSTALL) -s -m 755 $$f $(BINDIR) ; \
++              $(INSTALL) -m 755 $$f $(BINDIR) ; \
+       done
+ #
+ # make symlink for "g3topbm" (so third-party fax viewers won't fail)
+diff -Nru mgetty-1.1.35.orig/Makefile mgetty-1.1.35/Makefile
+--- mgetty-1.1.35.orig/Makefile        2006-02-22 15:58:33.000000000 +0200
++++ mgetty-1.1.35/Makefile     2007-04-15 12:07:20.000000000 +0300
+@@ -591,8 +591,8 @@
+       -test -d $(SBINDIR) || ( ./mkidirs $(SBINDIR) ; chmod 755 $(SBINDIR) )
+       -mv -f $(SBINDIR)/mgetty $(SBINDIR)/mgetty.old
+       -mv -f $(SBINDIR)/sendfax $(SBINDIR)/sendfax.old
+-      $(INSTALL) -s -m 700 mgetty $(SBINDIR)
+-      $(INSTALL) -s -m 755 sendfax $(SBINDIR)
++      $(INSTALL) -m 700 mgetty $(SBINDIR)
++      $(INSTALL) -m 755 sendfax $(SBINDIR)
+ #
+ # data files + directories
+ #
+@@ -654,7 +654,7 @@
+       if [ ! -z "$(INSTALL_MECHO)" ] ; then \
+           cd compat ; \
+           $(CC) $(CFLAGS) -o mg.echo mg.echo.c && \
+-          $(INSTALL) -s -m 755 mg.echo $(BINDIR) ; \
++          $(INSTALL) -m 755 mg.echo $(BINDIR) ; \
+       fi
+ #
 diff -Nru mgetty-1.1.35.orig/voice/Makefile mgetty-1.1.35/voice/Makefile
 --- mgetty-1.1.35.orig/voice/Makefile  2001-12-23 17:08:13.000000000 +0200
-+++ mgetty-1.1.35/voice/Makefile       2006-03-12 19:32:41.339702000 +0200
++++ mgetty-1.1.35/voice/Makefile       2007-04-15 12:07:02.000000000 +0300
 @@ -85,6 +85,7 @@
        @echo ""
        $(INSTALL) -m 700 vgetty/vgetty $(SBINDIR)
diff --git a/net-dialup/mgetty/files/mgetty-1.1.35-implicit-decl.patch b/net-dialup/mgetty/files/mgetty-1.1.35-implicit-decl.patch
new file mode 100644 (file)
index 0000000..9cb62b8
--- /dev/null
@@ -0,0 +1,22 @@
+diff -Nru mgetty-1.1.35.orig/t/t_ring.c mgetty-1.1.35/t/t_ring.c
+--- mgetty-1.1.35.orig/t/t_ring.c      2005-03-23 11:56:21.000000000 +0200
++++ mgetty-1.1.35/t/t_ring.c   2007-04-15 11:46:45.000000000 +0300
+@@ -24,6 +24,7 @@
+ #include "mgetty.h"
+ #include <stdio.h>
++#include <string.h>
+ #include <signal.h>
+ #include <errno.h>
+ #ifdef T_LOG_VERBOSE
+diff -Nru mgetty-1.1.35.orig/tools/microcom.c mgetty-1.1.35/tools/microcom.c
+--- mgetty-1.1.35.orig/tools/microcom.c        2005-02-27 14:10:52.000000000 +0200
++++ mgetty-1.1.35/tools/microcom.c     2007-04-15 11:47:17.000000000 +0300
+@@ -6,6 +6,7 @@
+  *
+  * Calls routines in io.c, tio.c
+  */
++#include <stdlib.h>
+ #include <stdio.h>
+ #include <fcntl.h>
+ #include <unistd.h>
index f00853c72f879620484e3cd32619d4fba18b914c..40e5286d8d5f356b81346108daee618e615500d9 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.35-r2.ebuild,v 1.1 2006/11/20 20:40:24 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.35-r2.ebuild,v 1.2 2007/04/15 09:12:02 mrness Exp $
 
 inherit toolchain-funcs flag-o-matic eutils
 
@@ -35,6 +35,7 @@ src_unpack() {
        epatch "${FILESDIR}/Lucent.c.patch" # Lucent modem CallerID patch - bug #80366
        epatch "${FILESDIR}/${P}-faxrunq.patch"
        epatch "${FILESDIR}/${P}-netpbm-collision.patch" #g3topbm is installed by netpbm
+       epatch "${FILESDIR}/${P}-implicit-decl.patch"
 
        #Avoid "is setXid, dynamically linked and using lazy bindings" QA notices 
        append-ldflags $(bindnow-flags)