# HG changeset patch # User Michael Schloh von Bennewitz # Date 1231456620 -3600 # Node ID 64165e101f088d35c70f7953f00066ee1019b00b # Parent 5b891b5b7234e36c61bbc210267ddde9278b0be8 Correct for mixed usage of ISO C and ISO C++ language constructs. diff -r 5b891b5b7234 -r 64165e101f08 mesa/mesa.spec --- a/mesa/mesa.spec Thu Jan 08 23:33:58 2009 +0100 +++ b/mesa/mesa.spec Fri Jan 09 00:17:00 2009 +0100 @@ -108,6 +108,9 @@ %{l_shtool} subst \ -e "s;\.\./images/;%{l_prefix}/lib/mesa/images/;" \ `find . -name '*.c' -o -name '*.cxx'` + %{l_shtool} subst \ + -e 's;\(APP_LIB_DEPS *=.*-l\$(GL_LIB)\);\1 -lstdc++;' \ + configs/* %build case "%{l_platform -t}" in