Bug 122540 - net/throttled compilation failure
Summary: net/throttled compilation failure
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-07 19:00 UTC by bordjukov
Modified: 2008-04-14 13:00 UTC (History)
0 users

See Also:


Attachments
file.diff (276 bytes, patch)
2008-04-07 19:00 UTC, bordjukov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description bordjukov 2008-04-07 19:00:01 UTC
root@gate[~]: cd /usr/ports/net/throttled/
root@gate[throttled]: make
===>  Extracting for throttled-0.4.1
=> MD5 Checksum OK for throttled-0.4.1.tgz.
=> SHA256 Checksum OK for throttled-0.4.1.tgz.
===>  Patching for throttled-0.4.1
===>   throttled-0.4.1 depends on executable: gmake - found
===>  Configuring for throttled-0.4.1
===>  Building for throttled-0.4.1
cd src; gmake throttled; mv throttled ..; cd ..
gmake[1]: Entering directory `/var/ports/net/throttled/work/throttled-0.4.1/src'
c++ -o throttled -O2 -fno-strict-aliasing -pipe throttled.cpp -pthread
throttled.cpp: In function 'int main(int, char**)':
throttled.cpp:45: error: 'SIGHUP' was not declared in this scope
throttled.cpp:45: error: 'signal' was not declared in this scope
throttled.cpp:46: error: 'SIGINT' was not declared in this scope
throttled.cpp:47: error: 'SIGKILL' was not declared in this scope
throttled.cpp:48: error: 'SIGTERM' was not declared in this scope
throttled.cpp:49: error: 'SIGQUIT' was not declared in this scope
throttled.cpp:50: error: 'SIGUSR1' was not declared in this scope
throttled.cpp:51: error: 'SIGUSR2' was not declared in this scope
throttled.cpp: In function 'void sigspeedchangeproc(int)':
throttled.cpp:359: error: 'SIGUSR1' was not declared in this scope
throttled.cpp:363: error: 'SIGUSR2' was not declared in this scope
gmake[1]: *** [throttled] Error 1
gmake[1]: Leaving directory `/var/ports/net/throttled/work/throttled-0.4.1/src'
mv: throttled: No such file or directory
root@gate[throttled]:

Fix: include signal.h

Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/net/throttled
make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-04-07 21:22:03 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Josh Ellithorpe 2008-04-08 00:37:39 UTC
Patch looks clean. Just an include.

-Josh
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-04-14 12:50:24 UTC
gahr        2008-04-14 11:50:16 UTC

  FreeBSD ports repository

  Modified files:
    net/throttled        Makefile 
  Added files:
    net/throttled/files  patch-src_throttled.h 
  Log:
  - Fix missing include
  
  PR:             122540
  Submitted by:   Petko Bordjukov <bordjukov@gmail.com>
  Reviewed by:    maintainer
  Approved by:    miwi (mentor)
  
  Revision  Changes    Path
  1.4       +1 -0      ports/net/throttled/Makefile
  1.1       +10 -0     ports/net/throttled/files/patch-src_throttled.h (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 4 Pietro Cerutti freebsd_committer freebsd_triage 2008-04-14 12:51:08 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!