[Webware-devel] [ webware-Bugs-754413 ] WebKit wkcgi adapter fix for FreeBSD

2003-10-22 Thread SourceForge.net
Bugs item #754413, was opened at 2003-06-14 02:42
Message generated for change (Comment added) made by jdhildeb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=754413&group_id=4866

Category: WebKit
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: WebKit wkcgi adapter fix for FreeBSD

Initial Comment:
Running GNU Make 3.80 (gmake) on FreeBSD 4.8 for 
Webware 0.8 in WebWare/WebKit/Adapters/wkcgi as 
directed by 
http://webware.sourceforge.net/Webware-0.8/WebKit/Docs/InstallGuide.html#posix-linux-bsd-etc
 
fails with: 
 
cc -O2 -c ./wkcgi.c -o ./wkcgi.o 
In file included from ../common/wkcommon.h:22, 
 from wkcgi.h:6, 
 from ./wkcgi.c:5: 
/usr/include/resolv.h:104: field `nsaddr_list' has incomplete 
type 
/usr/include/resolv.h:114: field `addr' has incomplete type 
/usr/include/resolv.h:129: field `ina' has incomplete type 
/usr/include/resolv.h:130: field `in6a' has incomplete type 
gmake: *** [wkcgi.o] Error 1 
 
It seems that netinet/in.h needs to be included before 
resolv.h. 
 
Attached is a small unified diff that allows me to compile the 
wkcgi adapter. 

--

>Comment By: Jason Hildebrand (jdhildeb)
Date: 2003-10-21 23:01

Message:
Logged In: YES 
user_id=173690

Thanks for the fix.  I've committed it to Webware CVS.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=754413&group_id=4866


---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel


[Webware-devel] [ webware-Patches-827048 ] wkcgi MacOS X Build Fix

2003-10-22 Thread SourceForge.net
Patches item #827048, was opened at 2003-10-20 13:51
Message generated for change (Comment added) made by jdhildeb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=304866&aid=827048&group_id=4866

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: wkcgi MacOS X Build Fix

Initial Comment:
This fixes compiling on MacOS X 10.2.

Sorry attatching didn't work.

see http://blogs.23.nu/c0re/stories/1227/

--- WebKit/Adapters/common/wkcommon.h.orig  Mon Oct 20 
00:03:43 2003
+++ WebKit/Adapters/common/wkcommon.h   Mon Oct 20 
00:08:11 2003
@@ -17,6 +17,10 @@
 #include 
 #include 
 #include 
+#ifdef __MACH__ && __APPLE__
+#include 
+#include 
+#endif
 #include 
 #endif
 


--

>Comment By: Jason Hildebrand (jdhildeb)
Date: 2003-10-21 23:30

Message:
Logged In: YES 
user_id=173690

I just checked, and this fix has been in CVS for a few
months.  Is this sufficient, or were you hoping to have the
0.8.x branch fixed as well?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=304866&aid=827048&group_id=4866


---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel


[Webware-devel] [ webware-Bugs-697350 ] HTTPServlet.servletURI index errors

2003-10-22 Thread SourceForge.net
Bugs item #697350, was opened at 2003-03-04 10:51
Message generated for change (Comment added) made by jdhildeb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=697350&group_id=4866

Category: WebKit
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Dietmar Schwertberger (dschwertberger)
>Assigned to: Jason Hildebrand (jdhildeb)
Summary: HTTPServlet.servletURI  index errors

Initial Comment:
The following fixes some index errors:

def servletURI(self):
"""This is the URI of the servlet, without 
any query strings or extra path info"""

sspath=self.serverSidePath() #ensure that 
extraURLPath has been stripped
pinfo=self.pathInfo()
if not self._extraURLPath:
if pinfo and pinfo[-1]=="/": pinfo = 
pinfo[:-1]
return pinfo
pos = pinfo.rfind(self._extraURLPath)
if pos==-1:
URI=pinfo
else:
URI=pinfo[:pos]
if URI and URI[-1]=="/": URI=URI[:-1]
return URI


--

>Comment By: Jason Hildebrand (jdhildeb)
Date: 2003-10-21 22:51

Message:
Logged In: YES 
user_id=173690

Thanks for the bug report.  I've made the change in CVS.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=697350&group_id=4866


---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel