File aranym-0.9.7beta.diff of Package aranym
--- configure.ac
+++ configure.ac
@@ -1331,11 +1331,6 @@ CPUINCLUDES="-I\$(srcdir)/uae_cpu"
CPUSRCS="$CPUSRCS uae_cpu/aranym_glue.cpp uae_cpu/memory.cpp uae_cpu/newcpu.cpp uae_cpu/readcpu.cpp $JITSRCS $FPUSRCS $MMUSRCS"
GENCPUSRCS="$GENCPUSRCS cpudefs.cpp cpustbl.cpp $GENJITSRCS"
-dnl Remove the "-g" option if set for GCC.
-if [[ "x$HAVE_GCC27" = "xyes" ]]; then
- CFLAGS=`echo $CFLAGS | sed -e 's/-g\b//g'`
- CXXFLAGS=`echo $CXXFLAGS | sed -e 's/-g\b//g'`
-fi
if [[ "x$WANT_NATDEBUG" = "xyes" ]]; then
DBGSP="-g"
WFLAGS=""
@@ -1353,14 +1348,6 @@ if [[ "x$WANT_FULLDEBUG" = "xyes" ]]; th
CXXFLAGS="$CXXFLAGS -DWHOLEDEBUG"
fi
-dnl Remove the "-O2" option if set for GCC and set the "-O3" option.
-if [[ "x$HAVE_GCC27" = "xyes" ]]; then
- CFLAGS=`echo $CFLAGS | sed -e 's/-O2//g'`
- CFLAGS="-O3 $CFLAGS"
- CXXFLAGS=`echo $CXXFLAGS | sed -e 's/-O2//g'`
- CXXFLAGS="-O3 $CXXFLAGS"
-fi
-
dnl Remove -O[23] for cygwin gcc 3.x (gcc-3.3.3-3 found buggy).
if [[ "x$OS_TYPE" = "xcygwin" -a "x$HAVE_GCC30" = "xyes" ]]; then
CFLAGS=`echo $CFLAGS | sed -e 's/-O[[23]]//g'`
--- src/bootos_linux.cpp
+++ src/bootos_linux.cpp
@@ -334,7 +334,7 @@ void *LinuxBootOs::loadFile(char *filena
*length += unc_len;
unc_len = gzread(handle, buffer, MAXREAD_BLOCK_SIZE);
}
- gzseek(handle, 0, SEEK_SET);
+ gzrewind(handle);
D(bug("lilo: uncompressing '%s'", filename));
D(bug("lilo: uncompressed length: %d bytes", *length));