From ec111b3571a74eccccbc5ecc1b82a014edf77f98 Mon Sep 17 00:00:00 2001 From: Jochen Schmitt Date: Oct 14 2008 15:34:48 +0000 Subject: Fix SMP build issue --- diff --git a/highlight-2.6.13-gcc43.patch b/highlight-2.6.13-gcc43.patch index a907da7..ff85896 100644 --- a/highlight-2.6.13-gcc43.patch +++ b/highlight-2.6.13-gcc43.patch @@ -1,6 +1,6 @@ diff -up highlight-2.6.13/src/main.cpp.gcc43 highlight-2.6.13/src/main.cpp ---- highlight-2.6.13/src/main.cpp.gcc43 2008-10-08 20:08:10.000000000 +0200 -+++ highlight-2.6.13/src/main.cpp 2008-10-08 20:09:08.000000000 +0200 +--- highlight-2.6.13/src/main.cpp.gcc43 2008-09-30 03:45:45.000000000 +0200 ++++ highlight-2.6.13/src/main.cpp 2008-10-14 17:05:53.000000000 +0200 @@ -23,6 +23,9 @@ #include "main.h" #include "re/Pattern.h" @@ -11,9 +11,21 @@ diff -up highlight-2.6.13/src/main.cpp.gcc43 highlight-2.6.13/src/main.cpp #define MAX_LINE__WIDTH 80 using namespace std; +diff -up highlight-2.6.13/src/makefile.gcc43 highlight-2.6.13/src/makefile +--- highlight-2.6.13/src/makefile.gcc43 2008-10-14 17:25:04.000000000 +0200 ++++ highlight-2.6.13/src/makefile 2008-10-14 17:26:42.000000000 +0200 +@@ -69,7 +69,7 @@ endif + compile: ${OBJECTFILES} libhighlight.a + ${BUILD_CMD} + +-libhighlight.a: ++libhighlight.a: ${CORE_OBJECTS} + echo "compile lib...." + ${AR} ${ARFLAGS} libhighlight.a ${CORE_OBJECTS} + diff -up highlight-2.6.13/src/platform_fs.cpp.gcc43 highlight-2.6.13/src/platform_fs.cpp --- highlight-2.6.13/src/platform_fs.cpp.gcc43 2008-09-10 21:34:37.000000000 +0200 -+++ highlight-2.6.13/src/platform_fs.cpp 2008-10-08 20:07:37.000000000 +0200 ++++ highlight-2.6.13/src/platform_fs.cpp 2008-10-14 17:05:53.000000000 +0200 @@ -36,6 +36,8 @@ #include #include diff --git a/highlight.spec b/highlight.spec index 5a4ae58..f4b59c5 100644 --- a/highlight.spec +++ b/highlight.spec @@ -1,7 +1,7 @@ Name: highlight Summary: Universal source code to formatted text converter Version: 2.6.13 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Tools License: GPLv2 @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT %doc ChangeLog AUTHORS README* COPYING TODO examples/ %changelog +* Tue Oct 14 2008 Jochen Schmitt 2.6.13-2 +- Fix SMP build issue + * Wed Oct 8 2008 Jochen Schmitt 2.6.13-1 - New upstream release