summaryrefslogtreecommitdiffstats
path: root/www/uzbl/files/patch-uzbl-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/uzbl/files/patch-uzbl-core.c')
-rw-r--r--www/uzbl/files/patch-uzbl-core.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/uzbl/files/patch-uzbl-core.c b/www/uzbl/files/patch-uzbl-core.c
new file mode 100644
index 000000000..cbea01208
--- /dev/null
+++ b/www/uzbl/files/patch-uzbl-core.c
@@ -0,0 +1,19 @@
+--- src/uzbl-core.c.orig 2010-01-05 20:17:29.000000000 +0100
++++ src/uzbl-core.c 2010-01-08 10:13:45.000000000 +0100
+@@ -29,6 +29,7 @@
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
++#include <sys/errno.h>
+ #include "uzbl-core.h"
+ #include "callbacks.h"
+ #include "events.h"
+@@ -1436,7 +1437,7 @@
+ sa.sun_family = AF_UNIX;
+
+ /* create socket file descriptor and connect it to path */
+- fd = socket(AF_UNIX, SOCK_SEQPACKET, 0);
++ fd = socket(AF_UNIX, SOCK_STREAM, 0);
+ if(fd == -1) {
+ g_printerr("talk_to_socket: creating socket failed (%s)\n", strerror(errno));
+ return;