Finally working version.
authorToni Nikkanen <toni@tuug.fi>
Sat, 7 Mar 2009 18:48:24 +0000 (20:48 +0200)
committerToni Nikkanen <toni@tuug.fi>
Sat, 7 Mar 2009 18:48:24 +0000 (20:48 +0200)
Cl/WWWLibrary/HTTCP.c
README [new file with mode: 0644]
erwise/Makefile
lesstif-libs/libXm.so [new file with mode: 0755]
lesstif-libs/libXm.so.2 [new file with mode: 0755]
lesstif-libs/libXm.so.2.0.1 [new file with mode: 0755]

index 448c888..afa1727 100644 (file)
@@ -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 (file)
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 <toni@tuug.fi> 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/
+
index cd8df26..c9fd768 100644 (file)
 
            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 (executable)
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 (executable)
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 (executable)
index 0000000..d246ded
Binary files /dev/null and b/lesstif-libs/libXm.so.2.0.1 differ