Fix SMP build issue

This commit is contained in:
Jochen Schmitt 2008-10-14 15:34:48 +00:00
parent 92167877bf
commit ec111b3571
2 changed files with 19 additions and 4 deletions

View File

@ -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 <iostream>
#include <errno.h>

View File

@ -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 <Jochen herr-schmitt de> 2.6.13-2
- Fix SMP build issue
* Wed Oct 8 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.6.13-1
- New upstream release