diff options
author | novel <novel@FreeBSD.org> | 2007-07-15 16:53:13 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2007-07-15 16:53:13 +0800 |
commit | 0b25731c9214fc56e54ce8add029f417bb2338a5 (patch) | |
tree | 73fc909e8312dba0daa1e572deff6fc1ca9352ba | |
parent | 975abb8679b386d8d7f44c79652f63d2521cfd02 (diff) | |
download | freebsd-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.cc | 11 |
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)] + |