Fix autodetection of <sys/rtprio.h> which currently fails due to missing

typedefs provided by <sys/types.h>.

PR:		160597
Submitted by:	aakuusta@gmail.com
This commit is contained in:
Emanuel Haupt 2011-09-10 09:56:31 +00:00
parent 5bbeeb5fca
commit 9e5580d188
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281568
2 changed files with 15 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= xmp
PORTVERSION= 3.4.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio
MASTER_SITES= SF

View file

@ -0,0 +1,14 @@
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ audio/xmp/files/patch-configure 9 Sep 2011 18:02:27 -0000
@@ -0,0 +1,11 @@
+--- configure~
++++ configure
+@@ -5166,7 +5166,7 @@ done
+ fi
+ ;;
+ freebsd*)
+- for ac_header in sys/resource.h sys/rtprio.h
++ for ac_header in sys/types.h sys/resource.h sys/rtprio.h
+ do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"