ports/154793: Fix broken ports: korean/unzip

Takefu takefu at airport.fm
Tue Feb 15 04:40:09 UTC 2011


>Number:         154793
>Category:       ports
>Synopsis:       Fix broken ports: korean/unzip
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 15 04:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Takefu
>Release:        FreeBSD 8.2-RC3 amd64
>Organization:
FOX Amateur Radio Club
>Environment:
>Description:
Enough operation is not verified though it compiled.
>How-To-Repeat:
>Fix:

--- ko-unzip-6.0.patch begins here ---
diff -ruN /usr/ports/korean/unzip/Makefile korean/unzip/Makefile
--- /usr/ports/korean/unzip/Makefile	2010-07-21 16:56:36.000000000 +0900
+++ korean/unzip/Makefile	2011-02-15 12:07:43.000000000 +0900
@@ -14,6 +14,4 @@
 EXTRA_PATCHES=	${.CURDIR}/files/patch-*
 MASTERDIR=	${.CURDIR}/../../archivers/unzip

-BROKEN=		does not patch
-
 .include "${MASTERDIR}/Makefile"
diff -ruN /usr/ports/korean/unzip/files/patch-unzip.c korean/unzip/files/patch-unzip.c
--- /usr/ports/korean/unzip/files/patch-unzip.c	2003-05-21 22:56:45.000000000 +0900
+++ korean/unzip/files/patch-unzip.c	2011-02-15 11:27:43.000000000 +0900
@@ -1,25 +1,25 @@
---- unzip.c.orig	Sun Jan 27 11:26:16 2002
-+++ unzip.c	Wed May 21 03:42:30 2003
-@@ -595,7 +595,8 @@
-   -o  overwrite files WITHOUT prompting      -aa treat ALL files as text\n \
-  -j  junk paths (do not make directories)   -v  be verbose/print version info\n\
-  %c-C%c match filenames case-insensitively    %c-L%c make (some) names \
--lowercase\n %-42s %c-V%c retain VMS version numbers\n%s";
-+lowercase\n %-42s %c-V%c retain VMS version numbers\n\
+--- unzip.c.orig	2009-04-17 03:26:52.000000000 +0900
++++ unzip.c	2011-02-15 11:25:36.000000000 +0900
+@@ -664,7 +664,8 @@
+   -j  junk paths (do not make directories)   -aa treat ALL files as text\n\
+   -U  use escapes for all non-ASCII Unicode  -UU ignore any Unicode fields\n\
+   -C  match filenames case-insensitively     -L  make (some) names \
+-lowercase\n %-42s  -V  retain VMS version numbers\n%s";
++lowercase\n %-42s  -V  retain VMS version numbers\n\
 +                                             -.  don't translate filenames\n%s";
-
- static ZCONST char Far UnzipUsageLine5[] = "\
- Examples (see unzip.txt for more info):\n\
-@@ -1476,6 +1477,12 @@
-                         ++uO.ddotflag;
+ #else /* !VMS */
+ static ZCONST char Far UnzipUsageLine4[] = "\
+ modifiers:\n\
+@@ -1829,6 +1830,12 @@
+                         ++uO.cflxflag;
                      break;
- #endif /* !RISCOS && !CMS_MVS && !TANDEM */
-+ 		case ('.'):
-+                     if (negative)
-+                         uO.dotflag = FALSE, negative = 0;
-+                     else
-+                         uO.dotflag = TRUE;
-+                     break;
+ #endif /* UNIX */
++                case ('.'):
++                    if (negative)
++                        uO.dotflag = FALSE, negative = 0;
++                    else
++                        uO.dotflag = TRUE;
++                    break;
                  default:
                      error = TRUE;
                      break;
--- ko-unzip-6.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list