summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-06-21 01:34:57 +0000
committerAlin Năstac <mrness@gentoo.org>2008-06-21 01:34:57 +0000
commitb9d6442d13f164636a302f01d1233788e1fcbb43 (patch)
treea46e9466b43100eb28076707e214dd47cacfc0c2 /net-libs/wvstreams/files/wvstreams-4.4.1-MOC-fix.patch
parentP.mask net-libs/wvstreams-4.4.1 (#211327). (diff)
downloadgentoo-2-b9d6442d13f164636a302f01d1233788e1fcbb43.tar.gz
gentoo-2-b9d6442d13f164636a302f01d1233788e1fcbb43.tar.bz2
gentoo-2-b9d6442d13f164636a302f01d1233788e1fcbb43.zip
Fix broken compilation when valgrind is installed (#210867).
Version bump (#211327). (Portage version: 2.1.4.4)
Diffstat (limited to 'net-libs/wvstreams/files/wvstreams-4.4.1-MOC-fix.patch')
-rw-r--r--net-libs/wvstreams/files/wvstreams-4.4.1-MOC-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-libs/wvstreams/files/wvstreams-4.4.1-MOC-fix.patch b/net-libs/wvstreams/files/wvstreams-4.4.1-MOC-fix.patch
new file mode 100644
index 000000000000..3e3310a47839
--- /dev/null
+++ b/net-libs/wvstreams/files/wvstreams-4.4.1-MOC-fix.patch
@@ -0,0 +1,12 @@
+diff -Nru wvstreams-4.4.1.orig/wvrules.mk wvstreams-4.4.1/wvrules.mk
+--- wvstreams-4.4.1.orig/wvrules.mk 2008-01-20 13:00:48.000000000 +0200
++++ wvstreams-4.4.1/wvrules.mk 2008-01-20 13:25:51.000000000 +0200
+@@ -248,7 +248,7 @@
+ %.E: %.cc; $(call wvcxx,$@,$<,$*,,-E)
+ %.E: %.cpp; $(call wvcxx,$@,$<,$*,,-E)
+
+-%.moc: %.h; moc -o $@ $<
++%.moc: %.h; $(MOC) -o $@ $<
+
+ %: %.o; $(call wvlink,$@,$^)
+ %.t: %.t.o; $(call wvlink,$@,$(call reverse,$(filter %.o,$^)) $(filter-out %.o,$^) $(LIBWVTEST))