aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>2002-04-09 05:43:19 +0000
committerBill Fenner <fenner@FreeBSD.org>2002-04-09 05:43:19 +0000
commit8c457db7caece3c9e5fedbc48d3ecdc4154f6b85 (patch)
tree989dec898a0c30685979bed7edb58b4eef573025 /comms
parenta1ba576fdf134e4473164dbe02e776d259ea24ed (diff)
downloadports-8c457db7caece3c9e5fedbc48d3ecdc4154f6b85.tar.gz
ports-8c457db7caece3c9e5fedbc48d3ecdc4154f6b85.zip
Don't check for ioctl prototype; we know it's there.
Notes
Notes: svn path=/head/; revision=57479
Diffstat (limited to 'comms')
-rw-r--r--comms/hylafax/files/patch-configure20
1 files changed, 20 insertions, 0 deletions
diff --git a/comms/hylafax/files/patch-configure b/comms/hylafax/files/patch-configure
new file mode 100644
index 000000000000..80bb4d2eda7d
--- /dev/null
+++ b/comms/hylafax/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Wed May 30 19:29:46 2001
++++ configure Mon Apr 8 22:28:59 2002
+@@ -440,7 +440,7 @@
+ eval `cat $SRCDIR/VERSION | sed 's/\([0-9][0-9]*\)\.\([0-9][0-9]*\)\(.*\)/DIST_MAJOR=\1; DIST_MINOR=\2; DIST_TYPE=\3/'`
+ DIST_ALPHA=`awk '{print $3}' $SRCDIR/dist/hylafax.alpha`
+ VERSION="${DIST_MAJOR}.${DIST_MINOR}${DIST_TYPE}"
+-if [ $DIST_TYPE = beta ]; then
++if [ "$DIST_TYPE" = beta ]; then
+ VERSION="${VERSION}${DIST_ALPHA}"
+ fi
+
+@@ -2584,7 +2584,7 @@
+ }
+ CheckFuncDecl unlink 'extern int unlink(const char*);' unistd.h
+ CheckFuncDecl read 'extern int read(int, const void*, unsigned int);' unistd.h
+- CheckFuncDecl ioctl 'extern int ioctl(int, int, ...);' unistd.h sys/ioctl.h
++# CheckFuncDecl ioctl 'extern int ioctl(int, int, ...);' unistd.h sys/ioctl.h
+ CheckForFunc fchown && {
+ echo '#define HAS_FCHOWN 1'
+ Note "... configure use of fchown"