summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-04-15 09:12:02 +0000
committerAlin Năstac <mrness@gentoo.org>2007-04-15 09:12:02 +0000
commit66e3ab3390dbe8d0d8cda9d422076ab39f7bc517 (patch)
treee5ea371041513c44bf1f51f7315d470cc5559520 /net-dialup
parentAdd console use for linphone (diff)
downloadgentoo-2-66e3ab3390dbe8d0d8cda9d422076ab39f7bc517.tar.gz
gentoo-2-66e3ab3390dbe8d0d8cda9d422076ab39f7bc517.tar.bz2
gentoo-2-66e3ab3390dbe8d0d8cda9d422076ab39f7bc517.zip
Fix QA warnings
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/mgetty/ChangeLog7
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.35-gentoo.patch64
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.35-implicit-decl.patch22
-rw-r--r--net-dialup/mgetty/mgetty-1.1.35-r2.ebuild5
4 files changed, 93 insertions, 5 deletions
diff --git a/net-dialup/mgetty/ChangeLog b/net-dialup/mgetty/ChangeLog
index 80f898fbc24a..59f5ee24d44d 100644
--- a/net-dialup/mgetty/ChangeLog
+++ b/net-dialup/mgetty/ChangeLog
@@ -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,
diff --git a/net-dialup/mgetty/files/mgetty-1.1.35-gentoo.patch b/net-dialup/mgetty/files/mgetty-1.1.35-gentoo.patch
index 79897e8c7f41..32fc2134d2cb 100644
--- a/net-dialup/mgetty/files/mgetty-1.1.35-gentoo.patch
+++ b/net-dialup/mgetty/files/mgetty-1.1.35-gentoo.patch
@@ -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
index 000000000000..9cb62b8e5a1e
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.1.35-implicit-decl.patch
@@ -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>
diff --git a/net-dialup/mgetty/mgetty-1.1.35-r2.ebuild b/net-dialup/mgetty/mgetty-1.1.35-r2.ebuild
index f00853c72f87..40e5286d8d5f 100644
--- a/net-dialup/mgetty/mgetty-1.1.35-r2.ebuild
+++ b/net-dialup/mgetty/mgetty-1.1.35-r2.ebuild
@@ -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)