Bug 158933 - mail/heirloom-mailx won't build
Summary: mail/heirloom-mailx won't build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexander Logvinov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-15 05:00 UTC by D'Arcy Cain
Modified: 2011-09-24 10:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description D'Arcy Cain 2011-07-15 05:00:21 UTC
Package won't build on an unmodified FreeBSD installation.  Error is:

cc -O2 -fno-strict-aliasing -pipe  -I/usr/local/include -DMAILRC='"/usr/local/etc/nail.rc"' -DMAILSPOOL='"/var/mail"'  -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS   -c openssl.c
openssl.c:108: error: expected declaration specifiers or '...' before 'STACK'
openssl.c: In function 'ssl_select_method':
openssl.c:215: warning: assignment discards qualifiers from pointer target type
openssl.c:217: warning: assignment discards qualifiers from pointer target type
openssl.c:219: warning: assignment discards qualifiers from pointer target type
openssl.c:223: warning: assignment discards qualifiers from pointer target type
openssl.c:226: warning: assignment discards qualifiers from pointer target type
openssl.c: In function 'ssl_check_host':
openssl.c:311: error: 'STACK' undeclared (first use in this function)
openssl.c:311: error: (Each undeclared identifier is reported only once
openssl.c:311: error: for each function it appears in.)
openssl.c:311: error: 'gens' undeclared (first use in this function)
openssl.c: At top level:
openssl.c:499: error: expected declaration specifiers or '...' before 'STACK'
openssl.c: In function 'smime_verify':
openssl.c:508: error: 'STACK' undeclared (first use in this function)
openssl.c:508: error: 'certs' undeclared (first use in this function)
openssl.c:508: error: 'gens' undeclared (first use in this function)
openssl.c:555: error: 'chain' undeclared (first use in this function)
openssl.c: In function 'cverify':
openssl.c:617: error: 'STACK' undeclared (first use in this function)
openssl.c:617: error: 'chain' undeclared (first use in this function)
openssl.c:649: error: too many arguments to function 'smime_verify'
openssl.c: In function 'smime_encrypt':
openssl.c:690: error: 'STACK' undeclared (first use in this function)
openssl.c:690: error: 'certs' undeclared (first use in this function)
openssl.c: In function 'smime_certsave':
openssl.c:953: error: 'STACK' undeclared (first use in this function)
openssl.c:953: error: 'certs' undeclared (first use in this function)
openssl.c:955: error: 'chain' undeclared (first use in this function)
*** Error code 1

How-To-Repeat: Go to mail/heirloom-mailx and run make.
Comment 1 Edwin Groothuis freebsd_committer 2011-07-15 05:00:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->avl

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2011-09-24 10:43:10 UTC
avl         2011-09-24 09:43:01 UTC

  FreeBSD ports repository

  Added files:
    mail/heirloom-mailx/files patch-makeconfig patch-openssl.c 
  Log:
  - Fix build with OpenSSL 1.x
  
  PR:             ports/158933
  Submitted by:   D'Arcy Cain <darcy at Vex.Net>
  Obtained from:  heirloom-mailx CVS
  
  Revision  Changes    Path
  1.1       +28 -0     ports/mail/heirloom-mailx/files/patch-makeconfig (new)
  1.1       +121 -0    ports/mail/heirloom-mailx/files/patch-openssl.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alexander Logvinov freebsd_committer 2011-09-24 10:44:14 UTC
State Changed
From-To: open->closed

Committed. Thanks!