aboutsummaryrefslogtreecommitdiffstats
path: root/lang/intel2gas
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-08-01 02:05:33 +0800
committerarved <arved@FreeBSD.org>2007-08-01 02:05:33 +0800
commitdf0f424e8b52628444289c3b5ef20ae945c5e0c0 (patch)
tree83e1273a68459ebf18e9ccb9768856577cecf0e7 /lang/intel2gas
parent71acf726dd667b335dd6f87d96cc5310f22e5308 (diff)
downloadfreebsd-ports-gnome-df0f424e8b52628444289c3b5ef20ae945c5e0c0.tar.gz
freebsd-ports-gnome-df0f424e8b52628444289c3b5ef20ae945c5e0c0.tar.zst
freebsd-ports-gnome-df0f424e8b52628444289c3b5ef20ae945c5e0c0.zip
Fix build on 64bit platforms
Diffstat (limited to 'lang/intel2gas')
-rw-r--r--lang/intel2gas/files/patch-intel2gas.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/intel2gas/files/patch-intel2gas.cc b/lang/intel2gas/files/patch-intel2gas.cc
new file mode 100644
index 000000000000..6d118496e146
--- /dev/null
+++ b/lang/intel2gas/files/patch-intel2gas.cc
@@ -0,0 +1,11 @@
+--- intel2gas.cc.orig 2007-07-31 20:02:50.000000000 +0200
++++ intel2gas.cc 2007-07-31 20:03:20.000000000 +0200
+@@ -57,7 +57,7 @@
+ int counter = 0;
+ char* prev = 0;
+ while (l) {
+- if (int(l->name) > 0x10000000) {
++ if (intptr_t(l->name) > 0x10000000) {
+ printf("Error %d, prev=%s\n", counter, prev);
+ break;
+ }