Gentoo Archives: gentoo-commits

From: "Daniel Black (dragonheart)" <dragonheart@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/intel2gas/files: intel2gas-nostrip.patch intel2gas-1.3.3-constchar.patch intel2gas-1.3.3-cxx.patch
Date: Mon, 26 Jan 2009 01:48:09
Message-Id: E1LRGa7-0003SL-53@stork.gentoo.org
1 dragonheart 09/01/26 01:48:07
2
3 Added: intel2gas-nostrip.patch
4 intel2gas-1.3.3-constchar.patch
5 intel2gas-1.3.3-cxx.patch
6 Log:
7 QA fixes as per bug #255837 thanks kevin.pyle
8 (Portage version: 2.2_rc20/cvs/Linux 2.6.26-gentoo-r4 x86_64)
9
10 Revision Changes Path
11 1.1 dev-util/intel2gas/files/intel2gas-nostrip.patch
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/intel2gas/files/intel2gas-nostrip.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/intel2gas/files/intel2gas-nostrip.patch?rev=1.1&content-type=text/plain
15
16 Index: intel2gas-nostrip.patch
17 ===================================================================
18 diff -ru a/Makefile.in b/Makefile.in
19 --- intel2gas-1.3.3/Makefile.in 2000-11-14 12:53:25.000000000 -0600
20 +++ intel2gas-1.3.3-r1/Makefile.in 2009-01-21 18:34:44.000000000 -0600
21 @@ -45,7 +45,7 @@
22 cp -a $$datadir/* $(data_prefix)/$$datadir; \
23 done
24 install -m 755 -d $(prefix)/bin
25 - install -s -m 755 intel2gas $(prefix)/bin
26 + install -m 755 intel2gas $(prefix)/bin
27
28 uninstall:
29 for datadir in $(DATADIRS); do \
30
31
32
33 1.1 dev-util/intel2gas/files/intel2gas-1.3.3-constchar.patch
34
35 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/intel2gas/files/intel2gas-1.3.3-constchar.patch?rev=1.1&view=markup
36 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/intel2gas/files/intel2gas-1.3.3-constchar.patch?rev=1.1&content-type=text/plain
37
38 Index: intel2gas-1.3.3-constchar.patch
39 ===================================================================
40 --- intel2gas-1.3.3/intel2gas.cc.orig 2009-01-26 12:21:11.000000000 +1100
41 +++ intel2gas-1.3.3/intel2gas.cc 2009-01-26 12:38:54.000000000 +1100
42 @@ -57,10 +57,6 @@
43 int counter = 0;
44 char* prev = 0;
45 while (l) {
46 - if (int(l->name) > 0x10000000) {
47 - printf("Error %d, prev=%s\n", counter, prev);
48 - break;
49 - }
50 if (!strcasecmp(name,l->name))
51 return l;
52 counter++;
53 @@ -255,7 +251,7 @@
54 return len;
55 }
56
57 -static int str_parse(syntaxlist_t *s, char *parse, char *outline);
58 +static int str_parse(syntaxlist_t *s, const char *parse, char *outline);
59
60 static int parsematch(char *text, char *parse)
61 {
62 @@ -394,10 +390,10 @@
63 }
64
65
66 -static int str_parse(syntaxlist_t *sl, char *parse, char *outline)
67 +static int str_parse(syntaxlist_t *sl, const char *parse, char *outline)
68 {
69 *outline = '\0';
70 - parse = str_skipspace(parse);
71 + parse = str_skipspace((char *)parse);
72 if (str_empty(parse))
73 return 0;
74
75 @@ -412,7 +408,7 @@
76 return 0;
77 }
78 strcpy(tempstr, s->parseline);
79 - int size = parsematch(parse, tempstr);
80 + int size = parsematch((char *)parse, tempstr);
81 if (size) {
82 setTheseVars(s->assignments);
83 if (!str_empty(s->output))
84 @@ -535,7 +531,7 @@
85 if (str_empty(var)) return;
86
87 static struct {
88 - char *reg;
89 + const char *reg;
90 int mask;
91 } reglist[] = {
92 {"bp",0x40000},{"ebp",0xc0000},
93 @@ -717,7 +713,7 @@
94 static int load_syntax_files(char modedir[])
95 {
96 // Override the compiled in path
97 - char *resource_path = getenv("I2G_DATA");
98 + const char *resource_path = getenv("I2G_DATA");
99 if (resource_path == NULL)
100 resource_path = RESOURCE_PATH;
101
102 @@ -768,7 +764,7 @@
103
104 static bool is_a_define_line(char const *line)
105 {
106 - static char *keywords[] = {
107 + static const char *keywords[] = {
108 "if","define","else","endif",NULL,
109 };
110 for (int i=0; keywords[i]; i++) {
111
112
113
114 1.1 dev-util/intel2gas/files/intel2gas-1.3.3-cxx.patch
115
116 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/intel2gas/files/intel2gas-1.3.3-cxx.patch?rev=1.1&view=markup
117 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/intel2gas/files/intel2gas-1.3.3-cxx.patch?rev=1.1&content-type=text/plain
118
119 Index: intel2gas-1.3.3-cxx.patch
120 ===================================================================
121 --- intel2gas-1.3.3/Makefile.in.orig 2009-01-26 12:15:41.000000000 +1100
122 +++ intel2gas-1.3.3/Makefile.in 2009-01-26 12:15:50.000000000 +1100
123 @@ -1,7 +1,6 @@
124 # intel2gas 1.3.3 (c)1999 Mikko Tiihonen (mikko.tiihonen@×××.fi)
125 # Makefile by brn (c.nentwich@×××××××××.uk)
126
127 -CXX = g++
128
129 # CXXFLAGS = -O6 -mpentium -malign-jumps=2 -malign-functions=2 -malign-loops=2
130 # Just kidding :)