Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2008 14:12:30 GMT
From:      Sergei Golyashov <athathoth@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125263: unrar-iconv-3.80.b2,5 patch error
Message-ID:  <200807041412.m64ECUiJ068450@www.freebsd.org>
Resent-Message-ID: <200807041420.m64EK1Ft077466@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125263
>Category:       ports
>Synopsis:       unrar-iconv-3.80.b2,5 patch error
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 04 14:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Golyashov
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
>Environment:
FreeBSD crush.dony 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #1: Sun Jun 15 05:44:17 VLAST 2008     crush@crush.dony:/usr/obj/usr/src/sys/CRUSH  i386
>Description:
Patch error
>How-To-Repeat:
# cd /usr/ports/archivers/unrar-iconv
# make patch
===>  Vulnerability check disabled, database not found
===>  Extracting for unrar-iconv-3.80.b2,5
===>  Patching for unrar-iconv-3.80.b2,5
===>  Applying extra patch /usr/ports/archivers/unrar-iconv/files/patch-iconv
1 out of 1 hunks failed--saving rejects to makefile.unix.rej
*** Error code 1

Stop in /usr/ports/archivers/unrar-iconv.
>Fix:


Patch attached with submission follows:

--- patch-iconv.orig	2008-07-05 01:04:43.000000000 +1100
+++ patch-iconv	2008-07-04 12:50:15.000000000 +1100
@@ -123,12 +123,14 @@
 +#define MCHelpSwLO           "\n  lo<option>    Encoding option {ignore,translit,<empty>}"
 +#define MIconvCannotOpen     "\nCannot open iconv to convert between '%s' and '%s' with option '%s'"
 +#endif
---- makefile.unix	Sat Apr 30 11:00:12 2005
-+++ makefile.unix	Mon Jan 16 18:04:41 2006
-@@ -10,6 +10,13 @@
+--- makefile.unix	2008-07-04 12:40:36.000000000 +1100
++++ makefile.unix	2008-07-04 12:48:38.000000000 +1100
+@@ -10,7 +10,14 @@
  CXXFLAGS=-O2
  DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
  STRIP=strip
+-DESTDIR=/usr
++DESTDIR=/usr/local
 +# iconv stuff. Remove #ICONV# to enable
 +# where to get iconv.h
 +CXXFLAGS+= -I/usr/local/include


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807041412.m64ECUiJ068450>