Ver código fonte

* fixed mkxmlrpc, the recent commits to fcl-passrc broke it.

git-svn-id: trunk@14943 -
marco 15 anos atrás
pai
commit
14861f3906
2 arquivos alterados com 5 adições e 4 exclusões
  1. 1 1
      packages/fcl-net/Makefile.fpc
  2. 4 3
      packages/fcl-net/src/mkxmlrpc.pp

+ 1 - 1
packages/fcl-net/Makefile.fpc

@@ -9,7 +9,7 @@ version=2.5.1
 [target]
 units=servlets
 units_linux=netdb resolve ssockets fpsock httpbase httpclient httpsvlt xmlrpc
-units_freebsd=netdb resolve ssockets fpsock httpbase httpclient httpsvlt xmlrpc
+units_freebsd=netdb resolve ssockets fpsock httpbase httpclient httpsvlt xmlrpc cnetdb
 units_netbsd=netdb resolve ssockets fpsock httpbase httpclient httpsvlt xmlrpc
 units_openbsd=netdb resolve ssockets fpsock httpbase httpclient httpsvlt xmlrpc
 units_darwin=netdb resolve ssockets 

+ 4 - 3
packages/fcl-net/src/mkxmlrpc.pp

@@ -698,7 +698,8 @@ procedure WriteFPCServerSource;
 var
   i, j: Integer;
   Module: TPasModule;
-  InterfaceSection, ImplementationSection: TPasSection;
+  InterfaceSection:TInterfaceSection;
+   ImplementationSection: TImplementationSection;
   VarMember: TPasVariable;
   PropertyMember: TPasProperty;
   ProcMember: TPasProcedure;
@@ -710,9 +711,9 @@ var
 begin
   Module := TPasModule.Create(UnitName, nil);
   try
-    InterfaceSection := TPasSection.Create('', Module);
+    InterfaceSection := TInterfaceSection.Create('', Module);
     Module.InterfaceSection := InterfaceSection;
-    ImplementationSection := TPasSection.Create('', Module);
+    ImplementationSection := TImplementationSection.Create('', Module);
     Module.ImplementationSection := ImplementationSection;
     InterfaceSection.AddUnitToUsesList('Classes');
     InterfaceSection.AddUnitToUsesList('XMLRPC');