From: Toni Nikkanen Date: Sat, 7 Mar 2009 18:48:24 +0000 (+0200) Subject: Finally working version. X-Git-Url: http://git.maemo.org/git/?p=erwise;a=commitdiff_plain;h=1ec8ceaba08b825dbe357ceb712268e3e92c1e48 Finally working version. --- diff --git a/Cl/WWWLibrary/HTTCP.c b/Cl/WWWLibrary/HTTCP.c index 448c888..afa1727 100644 --- a/Cl/WWWLibrary/HTTCP.c +++ b/Cl/WWWLibrary/HTTCP.c @@ -223,11 +223,9 @@ PUBLIC int HTParseInet(sin, str) } else { /* Alphanumeric node name: */ printf("HTTCP: Calling gethostbyname2(\"%s\",AF_INET)\n", host); phost=gethostbyname2(host,AF_INET); /* See netdb.h */ - printf("HTTCP: gethostbyname() returned %d\n", phost); - printf("HTTCP: h_errno %d\n",h_errno); if (!phost) { printf( - "HTTPAccess: Can't find internet node name `%s'.\n",host); + "HTTPAccess: Can't find internet node name `%s', h_errno: %d.\n",host,h_errno); return -1; /* Fail? */ } memcpy(&sin->sin_addr, phost->h_addr, phost->h_length); diff --git a/README b/README new file mode 100644 index 0000000..032c789 --- /dev/null +++ b/README @@ -0,0 +1,6 @@ +This is erwise as fetched from: ftp://ftp.funet.fi/pub/networking/services/www/erwisE/ + +Patched by Toni Nikkanen to compile and run on Nokia N810/800 etc. Maemo +devices, using Diablo 4.1.2 SDK. +Included are the required lesstif libraries under lesstif-libs/ + diff --git a/erwise/Makefile b/erwise/Makefile index cd8df26..c9fd768 100644 --- a/erwise/Makefile +++ b/erwise/Makefile @@ -110,7 +110,7 @@ LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) - LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR) + LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR) LDCOMBINEFLAGS = -X -r DEPENDFLAGS = diff --git a/lesstif-libs/libXm.so b/lesstif-libs/libXm.so new file mode 100755 index 0000000..d246ded Binary files /dev/null and b/lesstif-libs/libXm.so differ diff --git a/lesstif-libs/libXm.so.2 b/lesstif-libs/libXm.so.2 new file mode 100755 index 0000000..d246ded Binary files /dev/null and b/lesstif-libs/libXm.so.2 differ diff --git a/lesstif-libs/libXm.so.2.0.1 b/lesstif-libs/libXm.so.2.0.1 new file mode 100755 index 0000000..d246ded Binary files /dev/null and b/lesstif-libs/libXm.so.2.0.1 differ