Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2005 12:08:29 +0300
From:      "Alex Samorukov" <samm@os2.kiev.ua>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        samm@os2.kiev.ua
Subject:   ports/86932: archivers/libunrar - maintainer update, correcting dll.hpp
Message-ID:  <1128503309.0@samm.loc>
Resent-Message-ID: <200510050910.j959AJvH099065@freefall.freebsd.org>

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

>Number:         86932
>Category:       ports
>Synopsis:       archivers/libunrar - maintainer update,correcting dll.hpp
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 05 09:10:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alex Samorukov
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
Shevchenko Didkovskiy and Partners 
>Environment:


System: FreeBSD 5.4-STABLE #15: Mon Aug  8 10:59:05 EEST 2005
    root@samm.loc:/usr/obj/usr/src/sys/SAMMKRNL



>Description:


Today i found that archivers/libunrar does not contain patch for the dll.hpp.
Patch was in original PR, but was lost in commit message (why?). Without this patch programs which require dll.hpp will not build correctly.


>How-To-Repeat:


Install port, and try to build any clamav with unrar (see PR ports/86510)


>Fix:


diff -u -r --new-file /usr/ports/archivers/libunrar/files/patch-dll.hpp /home/srvadm/src/libunrar/files/patch-dll.hpp
--- /usr/ports/archivers/libunrar/files/patch-dll.hpp	Thu Jan  1 03:00:00 1970
+++ /home/srvadm/src/libunrar/files/patch-dll.hpp	Wed Oct  5 11:51:48 2005
@@ -0,0 +1,18 @@
+--- dll.hpp.orig  2004-09-08 17:57:20.000000000 +0400
++++ dll.hpp       2004-10-22 10:43:08.000000000 +0400
+@@ -26,13 +26,13 @@
+ 
+ #define RAR_DLL_VERSION       4
+ 
+-#ifdef _UNIX
++//#ifdef _UNIX
+ #define CALLBACK
+ #define PASCAL
+ #define LONG long
+ #define HANDLE void *
+ #define UINT unsigned int
+-#endif
++//#endif
+ 
+ struct RARHeaderData
+ {



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



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