Add a forgotten patch to really fix the capture lockups when ethereal is

built with GTK+ 2 support.
This commit is contained in:
Joe Marcus Clarke 2004-07-22 00:24:08 +00:00
parent 5bb61da1e9
commit f587f92d22
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114377
4 changed files with 24 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= ethereal
PORTVERSION= 0.10.5
PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.ethereal.com/pub/ethereal/all-versions/ \
ftp://gd.tuwien.ac.at/infosys/security/ethereal/all-versions/ \

View file

@ -0,0 +1,11 @@
--- capture.c.orig Thu Jul 22 00:23:01 2004
+++ capture.c Thu Jul 22 00:23:15 2004
@@ -126,7 +126,7 @@
* XXX - the various BSDs appear to define BSD in <sys/param.h>; we don't
* want to include it if it's not present on this platform, however.
*/
-#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && \
+#if !defined(__NetBSD__) && !defined(__OpenBSD__) && \
!defined(__bsdi__) && !defined(__APPLE__) && !defined(_WIN32) && \
!defined(__CYGWIN__)
# define MUST_DO_SELECT

View file

@ -7,6 +7,7 @@
PORTNAME= ethereal
PORTVERSION= 0.10.5
PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.ethereal.com/pub/ethereal/all-versions/ \
ftp://gd.tuwien.ac.at/infosys/security/ethereal/all-versions/ \

View file

@ -0,0 +1,11 @@
--- capture.c.orig Thu Jul 22 00:23:01 2004
+++ capture.c Thu Jul 22 00:23:15 2004
@@ -126,7 +126,7 @@
* XXX - the various BSDs appear to define BSD in <sys/param.h>; we don't
* want to include it if it's not present on this platform, however.
*/
-#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && \
+#if !defined(__NetBSD__) && !defined(__OpenBSD__) && \
!defined(__bsdi__) && !defined(__APPLE__) && !defined(_WIN32) && \
!defined(__CYGWIN__)
# define MUST_DO_SELECT