aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/unarj/files/patch-unarj.c
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-07-27 00:51:15 +0800
committermat <mat@FreeBSD.org>2016-07-27 00:51:15 +0800
commit92a23247b1467190ce10007190052c33423ff547 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /archivers/unarj/files/patch-unarj.c
parent95f228514e93df3c298ff9e8142253c866d190fe (diff)
downloadfreebsd-ports-graphics-92a23247b1467190ce10007190052c33423ff547.tar.gz
freebsd-ports-graphics-92a23247b1467190ce10007190052c33423ff547.tar.zst
freebsd-ports-graphics-92a23247b1467190ce10007190052c33423ff547.zip
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'archivers/unarj/files/patch-unarj.c')
-rw-r--r--archivers/unarj/files/patch-unarj.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/archivers/unarj/files/patch-unarj.c b/archivers/unarj/files/patch-unarj.c
index 5b683946234..d348abe1379 100644
--- a/archivers/unarj/files/patch-unarj.c
+++ b/archivers/unarj/files/patch-unarj.c
@@ -1,5 +1,5 @@
---- unarj.c.orig Wed Jun 5 12:28:06 2002
-+++ unarj.c Mon Nov 29 17:48:27 2004
+--- unarj.c.orig 2002-06-05 08:28:06 UTC
++++ unarj.c
@@ -54,6 +54,10 @@
#include <stdlib.h>
#include <string.h>
@@ -11,7 +11,7 @@
#else /* !MODERN */
extern void free();
extern void exit();
-@@ -718,6 +722,8 @@
+@@ -718,6 +722,8 @@ static int
extract()
{
char name[FNAME_MAX];
@@ -20,11 +20,10 @@
if (check_flags())
{
-@@ -736,6 +742,21 @@
-
+@@ -737,6 +743,21 @@ extract()
if (host_os != OS)
default_case_path(name);
-+
+
+
+ /*
+ 8/8/2000 Phil Knirsch: Bugfix to create subdirectories. Unarj didn't
@@ -39,6 +38,7 @@
+ mkdir(dir, 0777);
+ pos = strchr(pos+1, PATH_CHAR);
+ }
-
++
if (file_exists(name))
{
+ printf(M_FEXISTS, name);