Bug 125841 - [patch] textproc/ispell 3.3.02_1 build error
Summary: [patch] textproc/ispell 3.3.02_1 build error
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: jmz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-21 22:10 UTC by Hirohisa Yamaguchi
Modified: 2008-07-23 16:20 UTC (History)
0 users

See Also:


Attachments
file.diff (993 bytes, patch)
2008-07-21 22:10 UTC, Hirohisa Yamaguchi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hirohisa Yamaguchi 2008-07-21 22:10:03 UTC
	While I build textproc/ispell, I got following:

cc -O2 -pipe -march=athlon64 -fno-strict-aliasing -c term.c
In file included from term.c:97:
/usr/include/sgtty.h:2:2: error: #error "The sgtty interface has been replaced by termios(4)"
/usr/include/sgtty.h:3:2: error: #error "Try to use <sys/ioctl.h> or migrate to <termios.h>"
term.c: In function 'terminit':
term.c:327: error: 'TIOCGETP' undeclared (first use in this function)
term.c:327: error: (Each undeclared identifier is reported only once
term.c:327: error: for each function it appears in.)
term.c:333: error: 'sbuf' has an incomplete type
term.c:334: error: invalid use of undefined type 'struct sgttyb'
term.c:334: error: 'ECHO' undeclared (first use in this function)
term.c:335: error: invalid use of undefined type 'struct sgttyb'
term.c:335: error: 'CBREAK' undeclared (first use in this function)
term.c:336: error: 'TIOCSETP' undeclared (first use in this function)
term.c:338: error: invalid use of undefined type 'struct sgttyb'
term.c:339: error: invalid use of undefined type 'struct sgttyb'
term.c: In function 'done':
term.c:382: error: 'TIOCSETP' undeclared (first use in this function)
term.c: In function 'onstop':
term.c:403: error: 'TIOCSETP' undeclared (first use in this function)
term.c: In function 'shellescape':
term.c:490: error: 'TIOCSETP' undeclared (first use in this function)
term.c wouldn't compile.  Try inverting USG in local.h
*** Error code 1

Stop in /usr/ports/textproc/ispell/work/ispell-3.3.02.
*** Error code 1

Stop in /usr/ports/textproc/ispell.

Fix: The patch follows

cvs diff: Diffing .
How-To-Repeat: 	# cd ports/textproc/ispell
	# make build
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-07-21 22:10:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jmz

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-07-22 19:50:42 UTC
jmz         2008-07-22 18:50:33 UTC

  FreeBSD ports repository

  Modified files:
    textproc/ispell      Makefile distinfo 
  Removed files:
    textproc/ispell/files patch-ac patch-local.h.samp 
                          patch-munchlist.X 
  Log:
  Fix distinfo for Spanish dictionary.
  Remove empty files.
  Add missing man pages.
  
  PR:             ports/125841
  Submitted by:   Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
  
  Revision  Changes    Path
  1.114     +2 -2      ports/textproc/ispell/Makefile
  1.32      +3 -0      ports/textproc/ispell/distinfo
  1.5       +0 -0      ports/textproc/ispell/files/patch-ac (dead)
  1.3       +0 -0      ports/textproc/ispell/files/patch-local.h.samp (dead)
  1.3       +0 -0      ports/textproc/ispell/files/patch-munchlist.X (dead)
_______________________________________________
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 jmz freebsd_committer freebsd_triage 2008-07-23 16:10:54 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2008-07-23 16:10:56 UTC
jmz         2008-07-23 15:10:43 UTC

  FreeBSD ports repository

  Modified files:
    textproc/ispell      Makefile 
    textproc/ispell/files patch-ispell.c patch-term.c 
  Log:
  Fix the build on 8-current
  
  PR:             ports/125841
  Submitted by:   Hirohisa Yamaguchi <umq@ueo.co.jp>
  
  Revision  Changes    Path
  1.116     +1 -1      ports/textproc/ispell/Makefile
  1.4       +2 -2      ports/textproc/ispell/files/patch-ispell.c
  1.3       +1 -1      ports/textproc/ispell/files/patch-term.c
_______________________________________________
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"