[hackers] [surf] typofix. || Enno Boland (tox)

From: <hg_AT_suckless.org>
Date: Fri, 26 Mar 2010 20:44:51 +0000 (UTC)

changeset: 189:003eb6a26962
tag: tip
user: Enno Boland (tox) <tox_AT_s01.de>
date: Fri Mar 26 21:44:48 2010 +0100
files: config.mk surf.c
description:
typofix.

diff -r a1246674794b -r 003eb6a26962 config.mk
--- a/config.mk Thu Mar 25 09:59:30 2010 +0100
+++ b/config.mk Fri Mar 26 21:44:48 2010 +0100
@@ -7,8 +7,8 @@
 PREFIX = /usr/local
 MANPREFIX = ${PREFIX}/share/man
 
-GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0)
-GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0)
+GTKINC=$(shell pkg-config --static --cflags gtk+-2.0 webkit-1.0)
+GTKLIB=$(shell pkg-config --static --libs gtk+-2.0 webkit-1.0)
 
 
 # includes and libs
@@ -18,7 +18,7 @@
 # flags
 CPPFLAGS = -DVERSION=\"${VERSION}\"
 CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-LDFLAGS = -g ${LIBS}
+LDFLAGS = -g ${LIBS} -static
 
 # Solaris
 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
diff -r a1246674794b -r 003eb6a26962 surf.c
--- a/surf.c Thu Mar 25 09:59:30 2010 +0100
+++ b/surf.c Fri Mar 26 21:44:48 2010 +0100
@@ -613,7 +613,7 @@
         if(!plugin)
                 cmd[i++] = "-p";
         if(!loadimage)
- cmd[i++] = "-l";
+ cmd[i++] = "-i";
         if(showxid)
                 cmd[i++] = "-x";
         cmd[i++] = "--";
@@ -707,7 +707,7 @@
         SoupDate *e;
         SoupCookieJar *j = soup_cookie_jar_text_new(cookiefile, FALSE);
         c = soup_cookie_copy(c);
- if(c && c->expires == NULL) {
+ if(c->expires == NULL) {
                 e = soup_date_new_from_time_t(time(NULL) + sessiontime);
                 soup_cookie_set_expires(c, e);
         }
Received on Fri Mar 26 2010 - 20:44:51 UTC

This archive was generated by hypermail 2.2.0 : Fri Mar 26 2010 - 20:48:06 UTC