tools/winebuild: add FreeBSD support (1/2) (RESEND) (fwd)
gerald at pfeifer.com
Sun Oct 4 19:24:57 CDT 2009
On Thu, 1 Oct 2009, Alexandre Julliard wrote:
> Looks ok but the patch doesn't apply. When resubmitting a patch you have
> to rebase on current git first.
This is strange since I've had this in my local git and did not get
any conflict. Ah, now I see -- there was some fuzz which git handled
transparently on my side. Sorry for the inconvenience. I was not
aware that git was able to handle this transparently.
Please find below the adjusted patch.
Add support for PLATFORM_FREEBSD.
diff --git a/tools/winebuild/build.h b/tools/winebuild/build.h
index 07ac347..b942934 100644
@@ -124,7 +124,11 @@ enum target_cpu
- PLATFORM_UNSPECIFIED, PLATFORM_APPLE, PLATFORM_SOLARIS, PLATFORM_WINDOWS
extern char *target_alias;
diff --git a/tools/winebuild/main.c b/tools/winebuild/main.c
index 9fef1c4..cc47120 100644
@@ -64,6 +64,8 @@ enum target_cpu target_cpu = CPU_POWERPC;
enum target_platform target_platform = PLATFORM_APPLE;
+enum target_platform target_platform = PLATFORM_FREEBSD;
enum target_platform target_platform = PLATFORM_SOLARIS;
More information about the wine-patches