/[debian-med]/trunk/packages/vxl/trunk/debian/patches/fix_alphacomp.patch
ViewVC logotype

Contents of /trunk/packages/vxl/trunk/debian/patches/fix_alphacomp.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13649 - (show annotations) (download)
Sun May 19 14:13:47 2013 UTC (19 months ago) by malat
File size: 2629 byte(s)
New upload
1 Description: __alpha is a processor, not an OS
2 Author: Mathieu Malaterre <malat@debian.org>
3 Last-Update: 2011-12-12
4 Forwarded: http://sourceforge.net/mailarchive/message.php?msg_id=28569493
5 Bug: https://sourceforge.net/apps/trac/vxl/ticket/66
6
7 Index: vxl-1.17.0/v3p/Qv/QvDict.cxx
8 ===================================================================
9 --- vxl-1.17.0.orig/v3p/Qv/QvDict.cxx 2013-05-19 13:36:32.070525549 +0000
10 +++ vxl-1.17.0/v3p/Qv/QvDict.cxx 2013-05-19 13:36:32.062525549 +0000
11 @@ -9,7 +9,7 @@
12 # endif
13 #else
14 # if defined(__alpha) /* there is no inttypes.h here */
15 - typedef unsigned long intptr_t;
16 +// typedef unsigned long intptr_t;
17 # elif defined(__CYGWIN__)
18 # include <sys/types.h> /* for intptr_t on Cygwin */
19 # elif defined(__BORLANDC__)
20 Index: vxl-1.17.0/core/vil/vil_stream_url.cxx
21 ===================================================================
22 --- vxl-1.17.0.orig/core/vil/vil_stream_url.cxx 2013-05-19 13:36:32.070525549 +0000
23 +++ vxl-1.17.0/core/vil/vil_stream_url.cxx 2013-05-19 13:36:32.066525549 +0000
24 @@ -25,7 +25,7 @@
25 # include <sys/socket.h>
26 # include <netinet/in.h> // htons()
27 # ifdef __alpha
28 -# include <fp.h> // htons() [ on e.g. DEC alpha, htons is in machine/endian.h]
29 +//# include <fp.h> // htons() [ on e.g. DEC alpha, htons is in machine/endian.h]
30 # endif
31 # define SOCKET int
32 #elif defined (VCL_WIN32) && !defined(__CYGWIN__)
33 Index: vxl-1.17.0/core/vil1/vil1_stream_url.cxx
34 ===================================================================
35 --- vxl-1.17.0.orig/core/vil1/vil1_stream_url.cxx 2013-05-19 13:36:32.070525549 +0000
36 +++ vxl-1.17.0/core/vil1/vil1_stream_url.cxx 2013-05-19 13:36:32.066525549 +0000
37 @@ -24,7 +24,7 @@
38 # include <sys/socket.h>
39 # include <netinet/in.h> // htons()
40 # ifdef __alpha
41 -# include <fp.h> // htons() [ on e.g. DEC alpha, htons is in machine/endian.h]
42 +//# include <fp.h> // htons() [ on e.g. DEC alpha, htons is in machine/endian.h]
43 # endif
44 # define SOCKET int
45 #elif defined (VCL_WIN32) && !defined(__CYGWIN__)
46 Index: vxl-1.17.0/core/vul/vul_url.cxx
47 ===================================================================
48 --- vxl-1.17.0.orig/core/vul/vul_url.cxx 2013-05-19 13:36:32.070525549 +0000
49 +++ vxl-1.17.0/core/vul/vul_url.cxx 2013-05-19 13:36:32.066525549 +0000
50 @@ -27,7 +27,7 @@
51 # include <sys/socket.h>
52 # include <netinet/in.h> // htons()
53 # ifdef __alpha
54 -# include <fp.h> // htons() [ on e.g. DEC alpha, htons is in machine/endian.h ]
55 +//# include <fp.h> // htons() [ on e.g. DEC alpha, htons is in machine/endian.h ]
56 # endif
57 # define SOCKET int
58

  ViewVC Help
Powered by ViewVC 1.1.5