[Bug 221498] mail/isync: fix build with LibreSSL

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 13 23:09:38 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221498

            Bug ID: 221498
           Summary: mail/isync: fix build with LibreSSL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ehaupt at FreeBSD.org
          Reporter: pkubaj at anongoth.pl
             Flags: maintainer-feedback?(ehaupt at FreeBSD.org)
          Assignee: ehaupt at FreeBSD.org

Created attachment 185376
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185376&action=edit
patch

Without the attached patch, I get the error during build:
cc  -O2 -pipe  -fstack-protector -fno-strict-aliasing -pipe -W -Wall -Wshadow
-Wstrict-prototypes  -pedantic -Wno-overlength-strings  -L/usr/local/lib/db5
-Wl,-rpath,/usr/local/lib -fstack-protector -L/usr/local/lib -L/usr/local/lib
-o mbsync main.o sync.o config.o  util.o socket.o driver.o  drv_imap.o
drv_maildir.o -ldb -lssl -lcrypto  -lsasl2 -lz                                  
socket.o: In function `socket_start_tls':           
socket.c:(.text+0xc6): undefined reference to `X509_STORE_get0_objects'         
socket.o: In function `start_tls_p2':               
socket.c:(.text+0x273): undefined reference to `X509_OBJECT_get0_X509'          
cc: error: linker command failed with exit code 1 (use -v to see invocation)    
*** Error code 1                                    


With the attached patch, build passes (also on Poudriere).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list