From 9d03ba250cc726ed34ec409726a3124ebe2dccca Mon Sep 17 00:00:00 2001 From: grzegol Date: Sun, 23 May 2004 21:15:18 +0000 Subject: [PATCH] - updated for allegro-4.1.14 Changed files: allegro-frame-pointer.patch -> 1.3 allegro-opt.patch -> 1.7 --- allegro-frame-pointer.patch | 17 +++++++++-------- allegro-opt.patch | 12 ++++++++---- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/allegro-frame-pointer.patch b/allegro-frame-pointer.patch index d36fcd0..45702cf 100644 --- a/allegro-frame-pointer.patch +++ b/allegro-frame-pointer.patch @@ -1,20 +1,21 @@ ---- allegro-4.1.11/configure.in.old Mon Sep 29 22:49:10 2003 -+++ allegro-4.1.11/configure.in Mon Sep 29 22:52:02 2003 -@@ -213,7 +213,7 @@ - elif test "X$allegro_build_profiling_programs" = "Xyes"; then +diff -urN aa/allegro-4.1.14/configure.in allegro-4.1.14/configure.in +--- aa/allegro-4.1.14/configure.in 2004-05-23 21:23:07.930046696 +0200 ++++ allegro-4.1.14/configure.in 2004-05-23 21:21:51.225707528 +0200 +@@ -245,7 +245,7 @@ COMPILE_PROGRAM=COMPILE_PROFILE + COMPILE_CXX_PROGRAM=COMPILE_CXX_PROFILE COMPILE_S_PROGRAM=COMPILE_S_PROFILE - PROG_LDFLAGS="-pg \$(LDFLAGS)" + PROG_LDFLAGS="-fno-omit-frame-pointer -pg \$(LDFLAGS)" LIB_TO_LINK=allp PLUGIN_LIB=lib/unix/libapdat.a allegro_build_profiling_library=yes -@@ -654,7 +654,7 @@ - ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DFORTIFY" +@@ -671,7 +671,7 @@ + ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DDMALLOC" fi CFLAGS="$CFLAGS $TARGET_ARCH" -- ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $WFLAGS" -+ ALLEGRO_PROFILE_CFLAGS="$CFLAGS -fno-omit-frame-pointer -pg $WFLAGS" +- ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $WFLAGS" ++ ALLEGRO_PROFILE_CFLAGS="$CFLAGS -fno-omit-frame-pointer -pg $WFLAGS" ALLEGRO_SFLAGS="-x assembler-with-cpp" ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED" else diff --git a/allegro-opt.patch b/allegro-opt.patch index dd6032c..5e86283 100644 --- a/allegro-opt.patch +++ b/allegro-opt.patch @@ -1,6 +1,7 @@ ---- allegro-4.1.12/configure.in.orig 2003-11-11 21:59:10.385928944 +0100 -+++ allegro-4.1.12/configure.in 2003-11-11 22:02:54.074923048 +0100 -@@ -649,39 +649,13 @@ +diff -urN aa/allegro-4.1.14/configure.in allegro-4.1.14/configure.in +--- aa/allegro-4.1.14/configure.in 2004-04-27 13:53:02.000000000 +0200 ++++ allegro-4.1.14/configure.in 2004-05-23 21:18:36.478313632 +0200 +@@ -662,29 +662,7 @@ dnl How to compile C and asm files. if test -n "GCC"; then @@ -31,6 +32,9 @@ ALLEGRO_DEBUG_CFLAGS="$CFLAGS -g $WFLAGS -DDEBUGMODE" if test "X$allegro_debug_with_fortify" = "Xyes"; then ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DFORTIFY" +@@ -692,12 +670,8 @@ + if test "X$allegro_debug_with_dmalloc" = "Xyes"; then + ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DDMALLOC" fi - ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS" - if test "X$allegro_cv_support_fomit_frame_pointer" = "Xyes"; then @@ -39,7 +43,7 @@ - CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS" - fi + CFLAGS="$CFLAGS $TARGET_ARCH" -+ ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $WFLAGS" ++ ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $WFLAGS" ALLEGRO_SFLAGS="-x assembler-with-cpp" ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED" else -- 2.44.0