diff --git a/boost-cxxflags-debug.patch b/boost-cxxflags-debug.patch new file mode 100644 index 0000000..5ee5e29 --- /dev/null +++ b/boost-cxxflags-debug.patch @@ -0,0 +1,53 @@ +*** tools/build/v1/gcc-tools.jam.orig 2005-11-19 20:21:16.000000000 +0100 +--- tools/build/v1/gcc-tools.jam 2006-11-15 11:27:47.000000000 +0100 +*************** flags gcc UNDEFS ; +*** 338,344 **** + flags gcc HDRS ; + flags gcc SYSHDRS ; + flags gcc LINKFLAGS ; +! flags gcc LINKFLAGS off : -s ; + flags gcc ARFLAGS ; + + flags gcc STDHDRS : $(GCC_INCLUDE_DIRECTORY) ; +--- 338,344 ---- + flags gcc HDRS ; + flags gcc SYSHDRS ; + flags gcc LINKFLAGS ; +! #flags gcc LINKFLAGS off : -s ; + flags gcc ARFLAGS ; + + flags gcc STDHDRS : $(GCC_INCLUDE_DIRECTORY) ; +*************** actions gcc-Link-action bind NEEDLIBS NE +*** 478,484 **** + $(.SET_EXIT) + $(SHELL_SET)$(gSHELL_LIBPATH)=$(LINK_LIBPATH)$(gAPPEND_LD_LIBRARY_PATH) + $(SHELL_EXPORT)$(gSHELL_LIBPATH) +! "$(.GXX[1]:R=$(GCC_BIN_DIR))" $(.GXX[2-]) "$(DLL_LINK_FLAGS)" "$(IMPLIB_COMMAND)$(<[2])" $(LINKFLAGS) -o "$(<[1])$(OUTTAG)" -L"$(LIBPATH:T)" -L"$(STDLIBPATH:T)" "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" "$(IMPLIB_FLAGS)$(NEEDIMPS)" -l$(FINDLIBS) $(LNOPT)$(RPATH_LINK). $(LNOPT)$(SONAME)$(<[1]:D=)$(SOTAG) + $(ACTION_1)$(LN)$(_)-fs$(_)"$(<[1]:D=)$(OUTTAG)"$(_)"$(<[1])" + } + +--- 478,484 ---- + $(.SET_EXIT) + $(SHELL_SET)$(gSHELL_LIBPATH)=$(LINK_LIBPATH)$(gAPPEND_LD_LIBRARY_PATH) + $(SHELL_EXPORT)$(gSHELL_LIBPATH) +! "$(.GXX[1]:R=$(GCC_BIN_DIR))" $(.GXX[2-]) -g "$(DLL_LINK_FLAGS)" "$(IMPLIB_COMMAND)$(<[2])" $(LINKFLAGS) -o "$(<[1])$(OUTTAG)" -L"$(LIBPATH:T)" -L"$(STDLIBPATH:T)" "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" "$(IMPLIB_FLAGS)$(NEEDIMPS)" -l$(FINDLIBS) $(LNOPT)$(RPATH_LINK). $(LNOPT)$(SONAME)$(<[1]:D=)$(SOTAG) + $(ACTION_1)$(LN)$(_)-fs$(_)"$(<[1]:D=)$(OUTTAG)"$(_)"$(<[1])" + } + +*************** rule C++-action +*** 509,515 **** + actions gcc-C++-action + { + $(.SET_EXIT) +! "$(.GXX[1]:R=$(GCC_BIN_DIR))" $(.GXX[2-]) -c -Wall -ftemplate-depth-255 -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I$(_)"$(STDHDRS)" -I$(_)"$(SYSHDRS)" -o "$(<)" "$(>)" + "$(.OBJCOPY[1])"$(_)$(OBJCOPY_FLAGS)$(_)"$(<)" + } + +--- 509,515 ---- + actions gcc-C++-action + { + $(.SET_EXIT) +! "$(.GXX[1]:R=$(GCC_BIN_DIR))" $(.GXX[2-]) -c -g -Wall -ftemplate-depth-255 -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I$(_)"$(STDHDRS)" -I$(_)"$(SYSHDRS)" -o "$(<)" "$(>)" + "$(.OBJCOPY[1])"$(_)$(OBJCOPY_FLAGS)$(_)"$(<)" + } + diff --git a/boost.spec b/boost.spec index 6430798..b719129 100644 --- a/boost.spec +++ b/boost.spec @@ -3,7 +3,7 @@ Name: boost Summary: The Boost C++ Libraries Version: 1.33.1 -Release: 8 +Release: 9 License: Boost Software License URL: http://www.boost.org/ Group: System Environment/Libraries @@ -28,6 +28,7 @@ Patch4: boost-runtests.patch Patch5: boost-serialization-warnings.patch Patch6: boost-spirit-warnings.patch Patch7: boost-bind-gcc41.patch +Patch8: boost-cxxflags-debug.patch %description Boost provides free peer-reviewed portable C++ source libraries. The @@ -70,6 +71,7 @@ rm -rf $RPM_BUILD_ROOT %patch5 -p0 %patch6 -p0 %patch7 -p0 +%patch8 -p0 %build #build bjam @@ -172,6 +174,9 @@ rm -rf $RPM_BUILD_ROOT %{_docdir}/boost-%{version} %changelog +* Wed Nov 15 2006 Benjamin Kosnik 1.33.1-9 +- (#154784: boost-debuginfo package is empty) + * Tue Nov 14 2006 Benjamin Kosnik 1.33.1-8 - (#205866: Revert scanner.hpp change.)