ports/86932: archivers/libunrar - maintainer update, correcting dll.hpp

Alex Samorukov samm at os2.kiev.ua
Wed Oct 5 09:10:21 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list