From: Uwe Hermann Date: Sat, 6 Aug 2005 20:07:06 +0000 (+0200) Subject: Imported Debian patch 1.01b-12.1 X-Git-Tag: debian/1.01b-12.1^0 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=5350e76f1bbd9d9e52bc0beaa31708bf46bbf85f;p=pkg%2Fmmv.git Imported Debian patch 1.01b-12.1 --- diff --git a/Makefile b/Makefile index 458e648..45a6c59 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Possible defines in CONF: # IS_MSDOS IS_SYSV IS_V7 IS_BSD HAS_DIRENT HAS_RENAME MV_DIR -CC =gcc -traditional +CC =gcc LD =$(CC) CONF =-DIS_SYSV -DHAS_DIRENT -DHAS_RENAME CFLAGS =-O2 $(CONF) diff --git a/debian/changelog b/debian/changelog index 04f1fcd..dce778f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +mmv (1.01b-12.1) unstable; urgency=low + + * Non-Maintainer Upload (BSP 2005-08-06). + * Fixed FTBFS with gcc 3.4 / 4.0 by applying patch from + Andreas Jochens (Closes: #260574). + + -- Uwe Hermann Sat, 6 Aug 2005 22:07:06 +0200 + mmv (1.01b-12) unstable; urgency=low * LFS support! (not sure if this breaks something :) (Closes: Bug #106822) diff --git a/mmv.c b/mmv.c index 1215984..abce4a4 100644 --- a/mmv.c +++ b/mmv.c @@ -88,6 +88,7 @@ Use -- as the end of options.\n"; #endif +#include #include #include @@ -127,10 +128,6 @@ extern unsigned _stklen = 10000; #include #include -extern char *getenv(); -extern long lseek(); -extern char *malloc(); - #ifdef HAS_DIRENT #include typedef struct dirent DIRENTRY; @@ -393,7 +390,7 @@ static int movealias(/* REP *first, REP *p, int *pprintaliased */); static int snap(/* REP *first, REP *p */); static void showdone(/* REP *fin */); static void breakout(/* */); -static int breakrep(/* */); +static void breakrep(int); static void breakstat(/* */); static void quit(/* */); static int copymove(/* REP *p */); @@ -2585,10 +2582,10 @@ static void breakout() } -static int breakrep() +static void breakrep(int signum) { gotsig = 1; - return(1); + return; }