summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-06-10 17:23:10 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-06-10 17:23:10 +0000
commite801b4d6a23de169ba88c69d7a5b15a8fe5b4474 (patch)
treef034c7c4e1c4e5dc2314189ebf70eac2b96a3375 /media-sound/esound/files
parentDEPEND on sed >= 4 (diff)
downloadgentoo-2-e801b4d6a23de169ba88c69d7a5b15a8fe5b4474.tar.gz
gentoo-2-e801b4d6a23de169ba88c69d7a5b15a8fe5b4474.tar.bz2
gentoo-2-e801b4d6a23de169ba88c69d7a5b15a8fe5b4474.zip
Fixing bug #18000
Diffstat (limited to 'media-sound/esound/files')
-rw-r--r--media-sound/esound/files/esound-0.2.29-local-vs-remote.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-sound/esound/files/esound-0.2.29-local-vs-remote.diff b/media-sound/esound/files/esound-0.2.29-local-vs-remote.diff
new file mode 100644
index 000000000000..6f4ff4bf4188
--- /dev/null
+++ b/media-sound/esound/files/esound-0.2.29-local-vs-remote.diff
@@ -0,0 +1,12 @@
+diff -ru esound-0.2.29.orig/esdlib.c esound-0.2.29/esdlib.c
+--- esound-0.2.29.orig/esdlib.c 2002-07-15 10:28:26.000000000 +0100
++++ esound-0.2.29/esdlib.c 2003-03-22 14:23:09.000000000 +0000
+@@ -558,7 +558,7 @@
+ static int is_host_local(const char* host)
+ {
+ char hnbuf[256]="";
+- if (!host || (*host)) return 1;
++ if (!host || (!*host)) return 1;
+
+ gethostname(hnbuf, sizeof(hnbuf));
+ return (!strcasecmp(host,hnbuf) || !strcasecmp(host, "localhost"));