diff options
author | Renato Botelho <garga@FreeBSD.org> | 2010-01-18 12:25:20 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2010-01-18 12:25:20 +0000 |
commit | 247e6cb7432e1cc8ff253dd9fa3f7d0ff4ea7f5e (patch) | |
tree | 42523f7695797bedb9693bedeb3b1ac5596a93c0 /archivers/arj | |
parent | Update to 0.25.3 (diff) |
Silent some compiler warnings that could result on program abort
PR: ports/141938 (based on)
Submitted by: Ted Mittelstaedt <tedm@ipinc.net>
Notes
Notes:
svn path=/head/; revision=248095
Diffstat (limited to 'archivers/arj')
-rw-r--r-- | archivers/arj/Makefile | 2 | ||||
-rw-r--r-- | archivers/arj/files/patch-fardata.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile index c87669e432c9..1fb7c6dfa452 100644 --- a/archivers/arj/Makefile +++ b/archivers/arj/Makefile @@ -7,7 +7,7 @@ PORTNAME= arj PORTVERSION= 3.10.22 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.78_3.10%20build%2022 diff --git a/archivers/arj/files/patch-fardata.c b/archivers/arj/files/patch-fardata.c new file mode 100644 index 000000000000..eaacfdd1e36a --- /dev/null +++ b/archivers/arj/files/patch-fardata.c @@ -0,0 +1,11 @@ +--- fardata.c.orig 2010-01-18 10:06:57.000000000 -0200 ++++ fardata.c 2010-01-18 10:08:24.000000000 -0200 +@@ -655,7 +655,7 @@ + num=va_arg(args, unsigned long); + else if(qualifier=='h') + { +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + if (flags&SIGN) + num=va_arg(args, int); /* num=va_arg(args, short); */ + else |