aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2007-07-15 16:53:13 +0800
committernovel <novel@FreeBSD.org>2007-07-15 16:53:13 +0800
commit0b25731c9214fc56e54ce8add029f417bb2338a5 (patch)
tree73fc909e8312dba0daa1e572deff6fc1ca9352ba
parent975abb8679b386d8d7f44c79652f63d2521cfd02 (diff)
downloadfreebsd-ports-gnome-0b25731c9214fc56e54ce8add029f417bb2338a5.tar.gz
freebsd-ports-gnome-0b25731c9214fc56e54ce8add029f417bb2338a5.tar.zst
freebsd-ports-gnome-0b25731c9214fc56e54ce8add029f417bb2338a5.zip
Fix build with gcc42.
Reported by: pointyhat via pav
-rw-r--r--emulators/pearpc/files/patch-src-tools-crc32.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/pearpc/files/patch-src-tools-crc32.cc b/emulators/pearpc/files/patch-src-tools-crc32.cc
new file mode 100644
index 000000000000..caf6f668b908
--- /dev/null
+++ b/emulators/pearpc/files/patch-src-tools-crc32.cc
@@ -0,0 +1,11 @@
+--- src/tools/crc32.cc.orig 2007-07-15 12:46:37.000000000 +0400
++++ src/tools/crc32.cc 2007-07-15 12:46:51.000000000 +0400
+@@ -97,7 +97,7 @@
+ */
+
+ // With this macro defined, the function runs about 35% faster, but the code is about 3 times bigger :
+-#define RUN_FASTER
++//#define RUN_FASTER
+
+ #define DO_CRC(b) crc = (crc >> 8) ^ crc32table[(*(byte*)&crc) ^ (b)]
+