~ubuntu-branches/ubuntu/vivid/vino/vivid-proposed

« back to all changes in this revision

Viewing changes to debian/patches/11_hurd_maxhostnamelen.patch

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-11-18 15:53:41 UTC
  • mfrom: (1.4.8)
  • Revision ID: package-import@ubuntu.com-20131118155341-u7aet62hkfzomvi6
Tags: 3.8.1-0ubuntu1
* New upstream version, drop changes included in the new version
* debian/patches/revert_use_prompt_notification.patch:
  - revert upstream change to use a notification with actions to accept or
    deny clients, since notify-osd doesn't support those, we keep using
    the old standalone dialog instead
* debian/patches/git_tls_read.patch:
  - "Fix reading of TLS data to account for cached data"

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: vino-3.3.3/server/miniupnp/miniupnpc.c
 
1
Index: vino-3.8.1/server/miniupnp/miniupnpc.c
2
2
===================================================================
3
 
--- vino-3.3.3.orig/server/miniupnp/miniupnpc.c 2011-10-24 17:36:19.000000000 +0200
4
 
+++ vino-3.3.3/server/miniupnp/miniupnpc.c      2012-01-26 16:19:48.972307910 +0100
 
3
--- vino-3.8.1.orig/server/miniupnp/miniupnpc.c 2013-11-18 15:14:13.602555624 +0100
 
4
+++ vino-3.8.1/server/miniupnp/miniupnpc.c      2013-11-18 15:14:13.598555624 +0100
5
5
@@ -13,7 +13,6 @@
6
6
 #include <io.h>
7
7
 #define snprintf _snprintf
50
50
        if(n<=0) {
51
51
 #ifdef DEBUG
52
52
                printf("Error sending SOAP request\n");
53
 
Index: vino-3.3.3/server/miniupnp/miniwget.c
 
53
Index: vino-3.8.1/server/miniupnp/miniwget.c
54
54
===================================================================
55
 
--- vino-3.3.3.orig/server/miniupnp/miniwget.c  2011-10-24 17:36:19.000000000 +0200
56
 
+++ vino-3.3.3/server/miniupnp/miniwget.c       2012-01-26 16:19:48.972307910 +0100
57
 
@@ -12,7 +12,6 @@
 
55
--- vino-3.8.1.orig/server/miniupnp/miniwget.c  2013-11-18 15:14:13.602555624 +0100
 
56
+++ vino-3.8.1/server/miniupnp/miniwget.c       2013-11-18 15:14:13.598555624 +0100
 
57
@@ -15,7 +15,6 @@
58
58
 #ifdef WIN32
59
59
 #include <winsock2.h>
60
60
 #include <io.h>
62
62
 #define MIN(x,y) (((x)<(y))?(x):(y))
63
63
 #define snprintf _snprintf
64
64
 #define herror
65
 
@@ -148,14 +147,14 @@
 
65
@@ -151,14 +150,14 @@
66
66
 /* parseURL()
67
67
  * arguments :
68
68
  *   url :             source string not modified
79
79
 {
80
80
        char * p1, *p2, *p3;
81
81
        p1 = strstr(url, "://");
82
 
@@ -169,15 +168,18 @@
 
82
@@ -172,15 +171,18 @@
83
83
        p3 = strchr(p1, '/');
84
84
        if(!p3)
85
85
                return 0;
101
101
                *port = 0;
102
102
                p2++;
103
103
                while( (*p2 >= '0') && (*p2 <= '9'))
104
 
@@ -196,11 +198,14 @@
 
104
@@ -199,11 +201,14 @@
105
105
        unsigned short port;
106
106
        char * path;
107
107
        /* protocol://host:port/chemin */
119
119
 }
120
120
 
121
121
 void * miniwget_getaddr(const char * url, int * size, char * addr, int addrlen)
122
 
@@ -208,12 +213,15 @@
 
122
@@ -211,12 +216,15 @@
123
123
        unsigned short port;
124
124
        char * path;
125
125
        /* protocol://host:port/chemin */
138
138
+       return ret;
139
139
 }
140
140
 
141
 
Index: vino-3.3.3/server/miniupnp/miniwget.h
 
141
Index: vino-3.8.1/server/miniupnp/miniwget.h
142
142
===================================================================
143
 
--- vino-3.3.3.orig/server/miniupnp/miniwget.h  2011-10-24 17:36:19.000000000 +0200
144
 
+++ vino-3.3.3/server/miniupnp/miniwget.h       2012-01-26 16:19:48.972307910 +0100
 
143
--- vino-3.8.1.orig/server/miniupnp/miniwget.h  2013-11-18 15:14:13.602555624 +0100
 
144
+++ vino-3.8.1/server/miniupnp/miniwget.h       2013-11-18 15:14:13.598555624 +0100
145
145
@@ -18,7 +18,7 @@
146
146
 
147
147
 LIBSPEC void * miniwget_getaddr(const char *, int *, char *, int);