Date: Mon, 16 Jan 2012 05:59:01 GMT From: Tatsuki Makino <tatsuki_makino@hotmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/164196: [patch] ports:archivers/unrar-iconv unrar-iconv-4.10, 5 could not be built Message-ID: <201201160559.q0G5x1TB089277@red.freebsd.org> Resent-Message-ID: <201201160600.q0G60NIc039241@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 164196 >Category: ports >Synopsis: [patch] ports:archivers/unrar-iconv unrar-iconv-4.10,5 could not be built >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 16 06:00:23 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Tatsuki Makino >Release: FreeBSD 8.2-STABLE i386 >Organization: >Environment: FreeBSD T2.test 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Jan 15 07:06:59 UTC 2012 root@T2.test:/usr/obj/usr/src/sys/GENERIC i386 >Description: unrar-iconv-4.10,5 could not be built It is raised by archivers/unrar/Makefile's post-patch target. >How-To-Repeat: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.10.20120114180333/unrar-iconv-4.10,5.log >Fix: patch this file to unrar-iconv or fix unrar Patch attached with submission follows: diff -u -r -N -d /usr/ports/archivers/unrar-iconv/files/patch-iconv ./archivers/unrar-iconv/files/patch-iconv --- /usr/ports/archivers/unrar-iconv/files/patch-iconv 2012-01-14 08:46:42.000000000 +0900 +++ ./archivers/unrar-iconv/files/patch-iconv 2012-01-16 14:47:47.000000000 +0900 @@ -126,15 +126,15 @@ #define MCannotDelete "\nCannot delete %s" #define MCalcCRC "\nCalculating the control sum" #define MTooLargeSFXArc "\nWARNING: Too large SFX archive. Windows cannot run the executable file exceeding 4 GB." ---- makefile.unix.orig 2010-03-30 23:26:26.000000000 +0800 -+++ makefile.unix 2011-01-18 11:21:35.000000000 +0800 +--- makefile.unix.orig 2011-05-31 01:47:49.000000000 +0900 ++++ makefile.unix 2012-01-16 14:44:48.000000000 +0900 @@ -11,6 +11,13 @@ DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE STRIP=strip DESTDIR=/usr +# iconv stuff. Remove #ICONV# to enable +# where to get iconv.h -+CXXFLAGS+= -I$(LOCALBASE)/include ++ICONV_CXXFLAGS+= -I$(LOCALBASE)/include +# where to get libiconv.so* +LIBS+= -L$(LOCALBASE)/lib -liconv +# enable iconv stuff @@ -142,6 +142,15 @@ # Linux using LCC #CXX=lcc +@@ -94,7 +101,7 @@ + + ########################## + +-COMPILE=$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(DEFINES) ++COMPILE=$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(ICONV_CXXFLAGS) $(DEFINES) + LINK=$(CXX) + + WHAT=UNRAR --- os.hpp.orig 2011-01-04 20:28:47.000000000 +0800 +++ os.hpp 2011-01-18 11:21:35.000000000 +0800 @@ -192,6 +192,10 @@ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201160559.q0G5x1TB089277>