LP64 + gcc4
This commit is contained in:
parent
8aaad3a091
commit
09c425eca1
12
lang/intel2gas/patches/patch-intel2gas_cc
Normal file
12
lang/intel2gas/patches/patch-intel2gas_cc
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-intel2gas_cc,v 1.1 2010/06/08 07:36:20 espie Exp $
|
||||
--- intel2gas.cc.orig Tue Jun 8 09:34:27 2010
|
||||
+++ intel2gas.cc Tue Jun 8 09:34:53 2010
|
||||
@@ -57,7 +57,7 @@ syntaxlist_t *findSyntax(char const *name)
|
||||
int counter = 0;
|
||||
char* prev = 0;
|
||||
while (l) {
|
||||
- if (int(l->name) > 0x10000000) {
|
||||
+ if (long(l->name) > 0x10000000) {
|
||||
printf("Error %d, prev=%s\n", counter, prev);
|
||||
break;
|
||||
}
|
21
x11/wmx/patches/patch-Client_C
Normal file
21
x11/wmx/patches/patch-Client_C
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-Client_C,v 1.1 2010/06/08 07:39:08 espie Exp $
|
||||
--- Client.C.orig Tue Jun 8 09:37:03 2010
|
||||
+++ Client.C Tue Jun 8 09:37:34 2010
|
||||
@@ -663,7 +663,7 @@ char *Client::getProperty(Atom a)
|
||||
}
|
||||
|
||||
|
||||
-int Client::getAtomProperty(Atom a, Atom type)
|
||||
+long Client::getAtomProperty(Atom a, Atom type)
|
||||
{
|
||||
char **p, *x;
|
||||
if (getProperty_aux(display(), m_window, a, type, 1L,
|
||||
@@ -673,7 +673,7 @@ int Client::getAtomProperty(Atom a, Atom type)
|
||||
|
||||
x = *p;
|
||||
XFree((void *)p);
|
||||
- return (int)x;
|
||||
+ return (long)x;
|
||||
}
|
||||
|
||||
|
12
x11/wmx/patches/patch-Client_h
Normal file
12
x11/wmx/patches/patch-Client_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Client_h,v 1.1 2010/06/08 07:39:08 espie Exp $
|
||||
--- Client.h.orig Tue Jun 8 09:37:46 2010
|
||||
+++ Client.h Tue Jun 8 09:37:54 2010
|
||||
@@ -184,7 +184,7 @@ class Client { (private)
|
||||
WindowManager *const m_windowManager;
|
||||
|
||||
char *getProperty(Atom);
|
||||
- int getAtomProperty(Atom, Atom);
|
||||
+ long getAtomProperty(Atom, Atom);
|
||||
int getIntegerProperty(Atom);
|
||||
|
||||
// accessors
|
Loading…
Reference in New Issue
Block a user