[oe-commits] org.oe.dev mesa: add 7.0.2

koen commit openembedded-commits at lists.openembedded.org
Sat Dec 8 10:22:26 UTC 2007


mesa: add 7.0.2

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 47cad73783ca8b7f0bbd037601d8820daed1618a
ViewMTN: http://monotone.openembedded.org/revision/info/47cad73783ca8b7f0bbd037601d8820daed1618a
Files:
1
packages/mesa/mesa-7.0.2
packages/mesa/mesa-7.0.2/fix-host-compile.patch
packages/mesa/mesa-7.0.2/mklib-rpath-link.patch
packages/mesa/mesa_7.0.2.bb
Diffs:

#
# mt diff -re4b084b8f4ff19d7fce5d62b50abc1a6cd0d6347 -r47cad73783ca8b7f0bbd037601d8820daed1618a
#
# 
# 
# add_dir "packages/mesa/mesa-7.0.2"
# 
# add_file "packages/mesa/mesa-7.0.2/fix-host-compile.patch"
#  content [b099c7506653362001d76f153df4dd8e9a295fc6]
# 
# add_file "packages/mesa/mesa-7.0.2/mklib-rpath-link.patch"
#  content [e07f79e6c39f88f2db2d828b3d5c928a3feb9a7f]
# 
# add_file "packages/mesa/mesa_7.0.2.bb"
#  content [3c595509d02a39aca25ae243b05264a535767985]
# 
============================================================
--- packages/mesa/mesa-7.0.2/fix-host-compile.patch	b099c7506653362001d76f153df4dd8e9a295fc6
+++ packages/mesa/mesa-7.0.2/fix-host-compile.patch	b099c7506653362001d76f153df4dd8e9a295fc6
@@ -0,0 +1,30 @@
+--- /src/mesa/x86/orig-Makefile	2005-07-01 04:54:38.000000000 +0300
++++ /src/mesa/x86/Makefile	2007-06-07 21:52:31.000000000 +0300
+@@ -5,6 +5,7 @@
+ 
+ 
+ INCLUDE_DIRS = \
++        -I/usr/include \
+ 	-I$(TOP)/include/GL \
+ 	-I$(TOP)/include \
+ 	-I.. \
+@@ -13,6 +14,10 @@
+ 	-I../glapi \
+ 	-I../tnl
+ 
++OPT_FLAGS_host = -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
++
++CFLAGS_host = -Wall -Wmissing-prototypes $(OPT_FLAGS_host) $(PIC_FLAGS) $(ARCH_FLAGS) \
++        $(DEFINES) $(ASM_FLAGS) $(X11_INCLUDES) -std=c99 -ffast-math
+ 
+ default: gen_matypes matypes.h
+ 
+@@ -21,7 +26,7 @@
+ 
+ 
+ gen_matypes: gen_matypes.c
+-	$(CC) $(INCLUDE_DIRS) $(CFLAGS) gen_matypes.c -o gen_matypes
++	$(CC) $(INCLUDE_DIRS) $(CFLAGS_host) gen_matypes.c -o gen_matypes
+ 
+ # need some special rules here, unfortunately
+ matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes
============================================================
--- packages/mesa/mesa-7.0.2/mklib-rpath-link.patch	e07f79e6c39f88f2db2d828b3d5c928a3feb9a7f
+++ packages/mesa/mesa-7.0.2/mklib-rpath-link.patch	e07f79e6c39f88f2db2d828b3d5c928a3feb9a7f
@@ -0,0 +1,23 @@
+--- /tmp/mklib	2007-12-08 11:03:23.000000000 +0100
++++ Mesa-7.0.2/bin/mklib	2007-12-08 11:04:02.509863000 +0100
+@@ -106,6 +106,9 @@
+ 	-L*)
+ 	    DEPS="$DEPS $1"
+ 	    ;;
++        -Wl*)
++            DEPS="$DEPS $1"
++            ;;
+ 	-pthread)
+ 	    # this is a special case (see bugzilla 10876)
+ 	    DEPS="$DEPS $1"
+--- /tmp/default	2007-12-08 11:04:17.000000000 +0100
++++ Mesa-7.0.2/configs/default	2007-12-08 11:05:06.279863000 +0100
+@@ -76,7 +76,7 @@
+ GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
+ 
+ # Program dependencies - specific GL/glut libraries added in Makefiles
+-APP_LIB_DEPS = -lm
++APP_LIB_DEPS = $(EXTRA_LIB_PATH) -lm
+ 
+ 
+ 
============================================================
--- packages/mesa/mesa_7.0.2.bb	3c595509d02a39aca25ae243b05264a535767985
+++ packages/mesa/mesa_7.0.2.bb	3c595509d02a39aca25ae243b05264a535767985
@@ -0,0 +1,6 @@
+include mesa-mesa.inc
+
+SRC_URI_append = " file://fix-host-compile.patch;patch=1 "
+
+
+






More information about the Openembedded-commits mailing list