SOURCES: allegro-examples.patch, allegro-frame-pointer.patch, alle...

wolf wolf at pld-linux.org
Sun Nov 13 19:48:27 CET 2005


Author: wolf                         Date: Sun Nov 13 18:48:27 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- 4.2.0 (kiesyoo at o2 pl)

---- Files affected:
SOURCES:
   allegro-examples.patch (1.4 -> 1.5) , allegro-frame-pointer.patch (1.3 -> 1.4) , allegro-info.patch (1.5 -> 1.6) , allegro-ldflags.patch (1.1 -> 1.2) , allegro-opt.patch (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SOURCES/allegro-examples.patch
diff -u SOURCES/allegro-examples.patch:1.4 SOURCES/allegro-examples.patch:1.5
--- SOURCES/allegro-examples.patch:1.4	Sun Jan 16 23:47:55 2005
+++ SOURCES/allegro-examples.patch	Sun Nov 13 19:48:21 2005
@@ -1,23 +1,22 @@
 --- allegro-4.1.17/makefile.in.orig	2004-12-02 02:02:14.000000000 +0100
 +++ allegro-4.1.17/makefile.in	2005-01-16 22:24:04.277495544 +0100
-@@ -526,7 +526,7 @@
+@@ -527,7 +527,7 @@
  	  $(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/allegro/platform/; \
  	done
  
 -INSTALL_EXES = $(filter tools/%, $(ALLEGRO_LIB_EXES) $(ALLEGRO_DATAFILE_EXES))
-+INSTALL_EXES = $(filter tools/% demo/% setup/% tests/% examples/%, $(ALLEGRO_LIB_EXES) $(ALLEGRO_DATAFILE_EXES) $(ALLEGRO_EXAMPLE_EXES))
++INSTALL_EXES = $(filter tools/% demo/% setup/% tests/% examples/%, $(ALLEGRO_EXE_TARGETS))
  
  install-programs: $(INSTALL_EXES)
  	$(mkinstalldirs) $(DESTDIR)$(bindir)
-@@ -617,9 +617,10 @@
+@@ -618,9 +618,9 @@
  	rm -rf $(includedir)/allegro
  
  uninstall-programs:
 -	@for prog in $(ALLEGRO_LIB_EXES) $(ALLEGRO_DATAFILE_EXES); do \
 -	  if test "X`echo $$prog | sed -e s,tools/.\*,,`" = X; then \
 -	    p=`echo $$prog | sed -e s,tools/,,`; \
-+	@for prog in $(ALLEGRO_LIB_EXES) $(ALLEGRO_DATAFILE_EXES) \
-+	  $(ALLEGRO_EXAMPLE_EXES) ; do \
++	@for prog in $(ALLEGRO_EXE_TARGETS); do \
 +	  if test "X`echo $$prog | sed -e s,.*/.\*,,`" = X; then \
 +	    p=`echo $$prog | sed -e s,,,`; \
  	    echo rm -f $(bindir)/$$p; \

================================================================
Index: SOURCES/allegro-frame-pointer.patch
diff -u SOURCES/allegro-frame-pointer.patch:1.3 SOURCES/allegro-frame-pointer.patch:1.4
--- SOURCES/allegro-frame-pointer.patch:1.3	Sun May 23 23:15:06 2004
+++ SOURCES/allegro-frame-pointer.patch	Sun Nov 13 19:48:21 2005
@@ -1,7 +1,7 @@
 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 @@
+@@ -271,7 +271,7 @@
    COMPILE_PROGRAM=COMPILE_PROFILE
    COMPILE_CXX_PROGRAM=COMPILE_CXX_PROFILE
    COMPILE_S_PROGRAM=COMPILE_S_PROFILE
@@ -10,12 +10,12 @@
    LIB_TO_LINK=allp
    PLUGIN_LIB=lib/unix/libapdat.a
    allegro_build_profiling_library=yes
-@@ -671,7 +671,7 @@
+@@ -730,7 +730,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

================================================================
Index: SOURCES/allegro-info.patch
diff -u SOURCES/allegro-info.patch:1.5 SOURCES/allegro-info.patch:1.6
--- SOURCES/allegro-info.patch:1.5	Sat May 21 21:22:40 2005
+++ SOURCES/allegro-info.patch	Sun Nov 13 19:48:21 2005
@@ -1,7 +1,8 @@
 Don't use tabs, they are expanded at wrong moment
 --- allegro-4.1.12/docs/src/allegro._tx~	Fri Nov 23 07:03:08 2001
 +++ allegro-4.1.12/docs/src/allegro._tx	Fri Nov 23 07:03:08 2001
-@@ -24,8 +24,8 @@
+@@ -31,9 +31,9 @@
+ @# This should remain commented at the moment (dvi output) @$@finalout
  @$
  @$@ifinfo
 -@$@dircategory Libraries

================================================================
Index: SOURCES/allegro-ldflags.patch
diff -u SOURCES/allegro-ldflags.patch:1.1 SOURCES/allegro-ldflags.patch:1.2
--- SOURCES/allegro-ldflags.patch:1.1	Mon Aug 25 01:00:43 2003
+++ SOURCES/allegro-ldflags.patch	Sun Nov 13 19:48:21 2005
@@ -1,12 +1,12 @@
 diff -ruN allegro-4.1.11./misc/allegro-config.in allegro-4.1.11/misc/allegro-config.in
 --- allegro-4.1.11./misc/allegro-config.in	2003-06-30 01:27:31.000000000 +0200
 +++ allegro-4.1.11/misc/allegro-config.in	2003-08-25 00:50:30.000000000 +0200
-@@ -19,7 +19,7 @@
- static_libs=@LINK_WITH_STATIC_LIBS@
- lib_type=@LIB_TO_LINK@
+@@ -21,7 +21,7 @@
+ 
+ accepts_frameworks=no
  
 -allegro_ldflags="@LDFLAGS@"
 +allegro_ldflags=""
  allegro_libs="@LIBS@"
+ allegro_frameworks="@FRAMEWORKS@"
  allegro_cflags=""
- allegro_cppflags=""

================================================================
Index: SOURCES/allegro-opt.patch
diff -u SOURCES/allegro-opt.patch:1.8 SOURCES/allegro-opt.patch:1.9
--- SOURCES/allegro-opt.patch:1.8	Sat Jul 31 14:48:17 2004
+++ SOURCES/allegro-opt.patch	Sun Nov 13 19:48:21 2005
@@ -1,11 +1,11 @@
 --- aa/allegro-4.1.15/configure.in	2004-04-27 13:53:02.000000000 +0200
 +++ allegro-4.1.15/configure.in	2004-05-23 21:18:36.478313632 +0200
-@@ -668,26 +662,7 @@
+@@ -720,38 +720,7 @@
  
  dnl How to compile C and asm files.
- if test -n "GCC"; then
+ if test -n "$GCC"; then
 -  if test "X$allegro_strict_warnings" = "Xyes"; then
--    WFLAGS="-Wall -W -Wstrict-prototypes -Wno-unused -Werror"
+-    WFLAGS="-Wall -W -Wstrict-prototypes -Wno-unused-parameter -Werror"
 -  else
 -    WFLAGS="-Wall -Wno-unused"
 -  fi
@@ -17,6 +17,18 @@
 -    else
 -      TARGET_ARCH="-mcpu=$allegro_optimizations"
 -    fi
+-  elif test "X$allegro_cv_processor_type" = "Xamd64"; then
+-    dnl Change default pentium->athlon64
+-    if test "X$allegro_optimizations" = "Xpentium"; then
+-      allegro_optimizations="k8"
+-    fi
+-    if test "$allegro_exclusive_optimizations" != none; then
+-      TARGET_ARCH="-march=$allegro_exclusive_optimizations"
+-    elif test "X$allegro_cv_support_amd64_mtune" = "Xyes"; then
+-      TARGET_ARCH="-mtune=$allegro_optimizations"
+-    else
+-      TARGET_ARCH="-mcpu=$allegro_optimizations"
+-    fi
 -  else
 -    TARGET_ARCH=
 -  fi
@@ -28,7 +40,7 @@
    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 @@
+@@ -759,12 +728,8 @@
    if test "X$allegro_debug_with_dmalloc" = "Xyes"; then
       ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DDMALLOC"
    fi
@@ -39,7 +51,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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/allegro-examples.patch?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/SOURCES/allegro-frame-pointer.patch?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/SOURCES/allegro-info.patch?r1=1.5&r2=1.6&f=u
    http://cvs.pld-linux.org/SOURCES/allegro-ldflags.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/SOURCES/allegro-opt.patch?r1=1.8&r2=1.9&f=u




More information about the pld-cvs-commit mailing list