[inn] Fix SMP issue in frontends
Jochen Schmitt
s4504kr at fedoraproject.org
Wed Aug 11 19:01:00 UTC 2010
commit 8e2e89001b7ca9b39f48780310f6705889bf3bca
Author: Jochen Schmitt <Jochen at herr-schmitt.de>
Date: Wed Aug 11 21:00:51 2010 +0200
Fix SMP issue in frontends
inn-2.5.2-smp.patch | 22 ++++++++++++++++------
inn.spec | 1 +
2 files changed, 17 insertions(+), 6 deletions(-)
---
diff --git a/inn-2.5.2-smp.patch b/inn-2.5.2-smp.patch
index 9bde4dd..7a177ed 100644
--- a/inn-2.5.2-smp.patch
+++ b/inn-2.5.2-smp.patch
@@ -1,7 +1,19 @@
+diff -up inn-2.5.2/frontends/Makefile.smp inn-2.5.2/frontends/Makefile
+--- inn-2.5.2/frontends/Makefile.smp 2010-08-11 20:54:46.268104983 +0200
++++ inn-2.5.2/frontends/Makefile 2010-08-11 20:58:04.429916114 +0200
+@@ -85,7 +85,7 @@ ovdb_init: ovdb_init.o $(BOTH) ; $(
+ ovdb_monitor: ovdb_monitor.o $(BOTH) ; $(LINK) ovdb_monitor.o $(STORELIBS)
+ ovdb_server: ovdb_server.o $(BOTH) ; $(LINK) ovdb_server.o $(STORELIBS)
+ ovdb_stat: ovdb_stat.o $(BOTH) ; $(LINK) ovdb_stat.o $(STORELIBS)
+-rnews: rnews.o $(LIBINN) ; $(LINK) rnews.o -pie $(STORELIBS)
++rnews: rnews.o $(BOTH) ; $(LINK) rnews.o -pie $(STORELIBS)
+ sm: sm.o $(BOTH) ; $(LINK) sm.o $(STORELIBS)
+
+ ovdb_init.o: ovdb_init.c
diff -up inn-2.5.2/innfeed/Makefile.smp inn-2.5.2/innfeed/Makefile
---- inn-2.5.2/innfeed/Makefile.smp 2010-07-06 17:59:31.483845914 +0200
-+++ inn-2.5.2/innfeed/Makefile 2010-07-06 18:19:02.033971518 +0200
-@@ -54,10 +54,14 @@ $(FIXSCRIPT):
+--- inn-2.5.2/innfeed/Makefile.smp 2010-08-11 20:47:15.883915244 +0200
++++ inn-2.5.2/innfeed/Makefile 2010-08-11 20:47:15.875915561 +0200
+@@ -54,9 +54,13 @@ $(FIXSCRIPT):
INNFEEDLIBS = $(LIBSTORAGE) $(LIBHIST) $(LIBINN) $(STORAGE_LIBS) $(LIBS)
@@ -11,10 +23,8 @@ diff -up inn-2.5.2/innfeed/Makefile.smp inn-2.5.2/innfeed/Makefile
+
+config_y.h: y.tab.h
mv y.tab.h config_y.h
-- mv y.tab.c config_y.c
+
+config_y.c: y.tab.c
-+ mv y.tab.c config_y.c
+ mv y.tab.c config_y.c
config_l.c: configfile.l
- $(LEX) $?
diff --git a/inn.spec b/inn.spec
index c6338c9..74aaec4 100644
--- a/inn.spec
+++ b/inn.spec
@@ -515,6 +515,7 @@ fi
%changelog
* Wed Aug 11 2010 Jochen Schmitt <Jochen herr-schmitt de> - 2.5.2-4
- Rebuild for python-2.7 (#623322)
+- Fix SMP issue in frontends
* Wed Jul 14 2010 Jochen Schmitt <Jochen herr-schmitt de> - 2.5.2-3
- /var/run/news ghosted tmpfs
More information about the scm-commits
mailing list