From 4713762299af69039fbd190168965da0175a00f6 Mon Sep 17 00:00:00 2001 From: Alin Năstac Date: Sat, 23 Sep 2006 16:45:43 +0000 Subject: Avoid pre-stripped binaries QA warning. (Portage version: 2.1.1) --- net-dialup/xc/ChangeLog | 5 ++- net-dialup/xc/files/digest-xc-4.3.2-r1 | 2 ++ net-dialup/xc/files/xc-4.3.2-gentoo.diff | 58 +++++++++++++++++++------------- 3 files changed, 40 insertions(+), 25 deletions(-) (limited to 'net-dialup/xc') diff --git a/net-dialup/xc/ChangeLog b/net-dialup/xc/ChangeLog index 6327fe22d222..ed6f4daa5d71 100644 --- a/net-dialup/xc/ChangeLog +++ b/net-dialup/xc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-dialup/xc # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/xc/ChangeLog,v 1.17 2006/03/16 22:20:15 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/xc/ChangeLog,v 1.18 2006/09/23 16:45:43 mrness Exp $ + + 23 Sep 2006; Alin Nastac files/xc-4.3.2-gentoo.diff: + Avoid pre-stripped binaries QA warning. 16 Mar 2006; Alin Nastac xc-4.3.2-r1.ebuild: Quote $FILESDIR and $D. diff --git a/net-dialup/xc/files/digest-xc-4.3.2-r1 b/net-dialup/xc/files/digest-xc-4.3.2-r1 index 7c1adf670497..851277af7294 100644 --- a/net-dialup/xc/files/digest-xc-4.3.2-r1 +++ b/net-dialup/xc/files/digest-xc-4.3.2-r1 @@ -1 +1,3 @@ MD5 e7bb2de7177a4ef9a4eccf3fd3d67c05 xc-4.3.2.tar.gz 162098 +RMD160 7fb7206c1f78a00bbee736e405402d8bae90f59a xc-4.3.2.tar.gz 162098 +SHA256 7e90ff0b89b646e1c8625fc675e6b33d244ab332a052ddd2daed825719e59461 xc-4.3.2.tar.gz 162098 diff --git a/net-dialup/xc/files/xc-4.3.2-gentoo.diff b/net-dialup/xc/files/xc-4.3.2-gentoo.diff index dea08ba93f10..de88d5381bd4 100644 --- a/net-dialup/xc/files/xc-4.3.2-gentoo.diff +++ b/net-dialup/xc/files/xc-4.3.2-gentoo.diff @@ -1,25 +1,6 @@ ---- /tmp/xcsubs.c Fri Sep 6 10:53:42 2002 -+++ xcsubs.c Fri Sep 6 14:39:52 2002 -@@ -23,7 +23,7 @@ - *tgetstr(), *tgoto(); - int LI, /* One less than screen length in termcap entry */ - CO; /* Screen width */ --speed_t ospeed; /* Used by termcap lib */ -+//speed_t ospeed; /* Used by termcap lib */ - static char tc[LG_BUFF]; /* termcap buffer */ - static char tbuf[LG_BUFF], *CD, *CF, *CL, *CM, *CN, *AE, *SE, *SO, *ME; - char *CE, PC; /* used by termcap -- padding character */ -@@ -410,7 +410,7 @@ - { - struct stat statbuf; - -- if (stat(pathname,&statbuf) || (statbuf.st_mode & S_IFMT) != S_IFREG) -+ if (stat(pathname,&statbuf) || (statbuf.st_mode & __S_IFMT) != __S_IFREG) - return NIL(FILE); - return fopen(pathname, "r"); - } ---- /tmp/Makefile Fri Sep 6 10:35:18 2002 -+++ Makefile Fri Sep 6 14:44:56 2002 +diff -Nru xc-4.3.2.orig/Makefile xc-4.3.2/Makefile +--- xc-4.3.2.orig/Makefile 2006-09-23 19:41:03.000000000 +0300 ++++ xc-4.3.2/Makefile 2006-09-23 19:41:29.560470750 +0300 @@ -5,6 +5,8 @@ SHELL = /bin/sh @@ -53,10 +34,39 @@ - $(INSTALL) $(binown) -m 755 -s ./bin/crc $(bindir) - $(INSTALL) $(manown) -m 644 xc.1 $(mandir) - $(INSTALL) $(manown) -m 644 crc.1 $(mandir) -+ $(INSTALL) $(binown) -m 755 -s ./bin/xc $(DESTDIR)$(bindir) -+ $(INSTALL) $(binown) -m 755 -s ./bin/crc $(DESTDIR)$(bindir) ++ $(INSTALL) $(binown) -m 755 ./bin/xc $(DESTDIR)$(bindir) ++ $(INSTALL) $(binown) -m 755 ./bin/crc $(DESTDIR)$(bindir) + $(INSTALL) $(manown) -m 644 xc.1 $(DESTDIR)$(mandir)/man1 + $(INSTALL) $(manown) -m 644 crc.1 $(DESTDIR)$(mandir)/man1 @echo " " @echo " " @echo "You will want to manually install 'phonelist' and" +@@ -113,7 +115,6 @@ + bin: xc crc + cp ./xc ./bin + cp ./crc ./bin +- strip ./bin/xc ./bin/crc + + ######################################### + ## mostly unused stuff below here ... ## +diff -Nru xc-4.3.2.orig/xcsubs.c xc-4.3.2/xcsubs.c +--- xc-4.3.2.orig/xcsubs.c 2006-09-23 19:41:03.000000000 +0300 ++++ xc-4.3.2/xcsubs.c 2006-09-23 19:41:19.711855250 +0300 +@@ -23,7 +23,7 @@ + *tgetstr(), *tgoto(); + int LI, /* One less than screen length in termcap entry */ + CO; /* Screen width */ +-speed_t ospeed; /* Used by termcap lib */ ++//speed_t ospeed; /* Used by termcap lib */ + static char tc[LG_BUFF]; /* termcap buffer */ + static char tbuf[LG_BUFF], *CD, *CF, *CL, *CM, *CN, *AE, *SE, *SO, *ME; + char *CE, PC; /* used by termcap -- padding character */ +@@ -410,7 +410,7 @@ + { + struct stat statbuf; + +- if (stat(pathname,&statbuf) || (statbuf.st_mode & S_IFMT) != S_IFREG) ++ if (stat(pathname,&statbuf) || (statbuf.st_mode & __S_IFMT) != __S_IFREG) + return NIL(FILE); + return fopen(pathname, "r"); + } -- cgit v1.2.3-65-gdbad