faultrep

Peter Dons Tychsen donpedro at tdcadsl.dk
Wed Jul 25 19:44:34 CDT 2007


Hello Wine/Alexander!

I have added a missing DLL to wine.
The DLL "faultrep", which is needed by some newer games.
"Company Of Heroes" (among others), will not run without this DLL
present. 

For now its just an empty shell. The original version cannot run in wine
anyway, and causes other DLLs to be required as well.

I do have a question though: When adding new files, who runs
autoconf and automake, to reflect on the changes in Makefile.in and
configure.ac? You?

Thanks,

/Pedro


>From 440b292f19a133c51c2b2189c43459f22e1c0481 Mon Sep 17 00:00:00 2001
From: Peter Dons Tychsen <donpedro at tdcadsl.dk>
Date: Thu, 26 Jul 2007 02:37:33 +0200
Subject: [PATCH] Added the faultlib DLL which is needed for some newer
games. E.g. "Company of Heroes" does not run without it.

---
 Makefile.in                 |    4 +++-
 configure.ac                |    1 +
 dlls/faultrep/Makefile.in   |   12 ++++++++++++
 dlls/faultrep/faultrep.c    |   21 +++++++++++++++++++++
 dlls/faultrep/faultrep.spec |    1 +
 5 files changed, 38 insertions(+), 1 deletions(-)
 create mode 100644 dlls/faultrep/Makefile.in
 create mode 100644 dlls/faultrep/faultrep.c
 create mode 100644 dlls/faultrep/faultrep.spec

diff --git a/Makefile.in b/Makefile.in
index 9e422ae..c81066c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -233,7 +233,8 @@ ALL_MAKEFILES = \
 	dlls/dxerr8/Makefile \
 	dlls/dxerr9/Makefile \
 	dlls/dxguid/Makefile \
-	dlls/gdi32/Makefile \
+	dlls/faultrep/Makefile \
+        dlls/gdi32/Makefile \
 	dlls/gdi32/tests/Makefile \
 	dlls/gdiplus/Makefile \
 	dlls/gdiplus/tests/Makefile \
@@ -593,6 +594,7 @@ dlls/dxdiagn/Makefile: dlls/dxdiagn/Makefile.in
dlls/Makedll.rules
 dlls/dxerr8/Makefile: dlls/dxerr8/Makefile.in dlls/Makeimplib.rules
 dlls/dxerr9/Makefile: dlls/dxerr9/Makefile.in dlls/Makeimplib.rules
 dlls/dxguid/Makefile: dlls/dxguid/Makefile.in dlls/Makeimplib.rules
+dlls/faultrep/Makefile: dlls/faultrep/Makefile.in dlls/Makedll.rules
 dlls/gdi32/Makefile: dlls/gdi32/Makefile.in dlls/Makedll.rules
 dlls/gdi32/tests/Makefile: dlls/gdi32/tests/Makefile.in
dlls/Maketest.rules
 dlls/gdiplus/Makefile: dlls/gdiplus/Makefile.in dlls/Makedll.rules
diff --git a/configure.ac b/configure.ac
index a03f097..6881db5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1634,6 +1634,7 @@ AC_CONFIG_FILES([dlls/gdi32/Makefile])
 AC_CONFIG_FILES([dlls/gdi32/tests/Makefile])
 AC_CONFIG_FILES([dlls/gdiplus/Makefile])
 AC_CONFIG_FILES([dlls/gdiplus/tests/Makefile])
+AC_CONFIG_FILES([dlls/faultrep/Makefile])
 AC_CONFIG_FILES([dlls/glu32/Makefile])
 AC_CONFIG_FILES([dlls/gphoto2.ds/Makefile])
 AC_CONFIG_FILES([dlls/hal/Makefile])
diff --git a/dlls/faultrep/Makefile.in b/dlls/faultrep/Makefile.in
new file mode 100644
index 0000000..e6e04a2
--- /dev/null
+++ b/dlls/faultrep/Makefile.in
@@ -0,0 +1,12 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = faultrep.dll
+IMPORTS   = kernel32
+
+C_SRCS = faultrep.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make
depend
diff --git a/dlls/faultrep/faultrep.c b/dlls/faultrep/faultrep.c
new file mode 100644
index 0000000..59ae46e
--- /dev/null
+++ b/dlls/faultrep/faultrep.c
@@ -0,0 +1,21 @@
+/* Fault report handling 
+ *
+ * Copyright 2007 Peter Dons Tychsen 
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301, USA
+ */
+#include <wine/debug.h>
+
+WINE_DEFAULT_DEBUG_CHANNEL(faultrep);
diff --git a/dlls/faultrep/faultrep.spec b/dlls/faultrep/faultrep.spec
new file mode 100644
index 0000000..436fc17
--- /dev/null
+++ b/dlls/faultrep/faultrep.spec
@@ -0,0 +1 @@
+# faultlib dll. For now the DLL is empty
-- 
1.5.2.2





More information about the wine-patches mailing list