diff options
-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 |