Silent some compiler warnings that could result on program abort
PR: ports/141938 (based on) Submitted by: Ted Mittelstaedt <tedm@ipinc.net>
This commit is contained in:
parent
1e284f89f1
commit
247e6cb743
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248095
@ -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
|
||||
|
||||
|
11
archivers/arj/files/patch-fardata.c
Normal file
11
archivers/arj/files/patch-fardata.c
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user