~ubuntu-branches/ubuntu/jaunty/xorp/jaunty

« back to all changes in this revision

Viewing changes to contrib/win32/w32api-3.9-xorp.patch

  • Committer: Bazaar Package Importer
  • Author(s): Jose Calhariz, Javier Fernandez-Sanguino, Jose Calhariz
  • Date: 2008-01-23 01:24:37 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080123012437-7l2u9r0k8e7op8st
Tags: 1.5~cvs.20080128-1
[ Javier Fernandez-Sanguino ]
* Update to latest CVS contents
* Modify debian/rules to prevent autobuilders from building 
  the binary-independent components: (Closes: #441121)
  - Create a new Build-Depends-Indep with all the TeX
  components used to build documentation
  - Since autobuilders call build, which in turns calls build-indep, hack
    the debian rules file so that the documentation is only built if ps2pdf,
    dvips and pslatex are available. 
* Modify the init.d script:
  - restart action: Do not attempt to stop xorp if not running
  - stop function: fix errors in the script
  - add a try-restart action
  - restructure the init.d script, move the restart code to a function
  - review the use of echo calls and exit values
* Use, as examples, the new boot files at rtrmgr/config/

[ Jose Calhariz ]
* Add depends on ncurses-dev, I don't know why xorp use tigetstr
  function from curses.  This way the depends field change less between
  build environments.
* Removed pushd and popd commands from Makefile and replaced with cd
  commands, was a bashism and FTBFS (closes: #453637)
* debian/control converted to utf-8 (closes: #454026) (closes: #453485)
* init.d/xorp now returns 0 if disabled.
* Added Vcs-Browser and Vcs-Svn fields pointing to the repository of the
  package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -uNr w32api-3.9/include/mprapi.h w32api-3.9-xorp/include/mprapi.h
 
2
--- w32api-3.9/include/mprapi.h 2006-05-12 18:12:31.000000000 +0100
 
3
+++ w32api-3.9-xorp/include/mprapi.h    2007-05-29 21:45:53.265625000 +0100
 
4
@@ -187,6 +187,8 @@
 
5
        GUID guid;
 
6
        PPP_INFO_2 PppInfo2;
 
7
 } RAS_CONNECTION_2,*PRAS_CONNECTION_2;
 
8
+typedef void *RAS_CONNECTION_3;
 
9
+typedef RAS_CONNECTION_3* PRAS_CONNECTION_3;
 
10
 #define MAX_PORT_NAME 16
 
11
 #define MAX_MEDIA_NAME 16
 
12
 #define MAX_DEVICE_NAME 128
 
13
diff -uNr w32api-3.9/include/routprot.h w32api-3.9-xorp/include/routprot.h
 
14
--- w32api-3.9/include/routprot.h       2006-05-11 16:57:11.000000000 +0100
 
15
+++ w32api-3.9-xorp/include/routprot.h  2007-05-29 21:46:07.671875000 +0100
 
16
@@ -43,6 +43,10 @@
 
17
 #define IPX_PROTOCOL_NLSP 0x00020002
 
18
 /*--- Router Management Reference - Router Management Structures */
 
19
 #if (_WIN32_WINNT >= 0x0500)
 
20
+typedef struct IP_LOCAL_BINDING {
 
21
+       DWORD Address;
 
22
+       DWORD Mask;
 
23
+} IP_LOCAL_BINDING,*PIP_LOCAL_BINDING;
 
24
 typedef struct IP_ADAPTER_BINDING_INFO {
 
25
        ULONG AddressCount;
 
26
        DWORD RemoteAddress;
 
27
@@ -50,10 +54,6 @@
 
28
        ULONGLONG Speed;
 
29
        IP_LOCAL_BINDING Address[];
 
30
 } IP_ADAPTER_BINDING_INFO,*PIP_ADAPTER_BINDING_INFO;
 
31
-typedef struct IP_LOCAL_BINDING {
 
32
-       DWORD Address;
 
33
-       DWORD Mask;
 
34
-} IP_LOCAL_BINDING,*PIP_LOCAL_BINDING;
 
35
 typedef struct IPX_ADAPTER_BINDING_INFO {
 
36
        ULONG AdapterIndex;
 
37
        UCHAR Network[4];