[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[pkg-wine-party] Bug#805655: wine-development: FTBFS on hurd-i386



Source: wine-development
Version: 1.7.55-3
Severity: important
Tags: patch
Usertags: hurd
User: debian-hurd@lists.debian.org

Hello,

Up till 1.7.55-2 wine-development built fine due to the recent upstream
PATH_MAX fixes. Unfortunately, with the enabling of libpulse, the
PATH_MAX problem arises again. The attached patch use the internally
used MAX_PATH number, as for other parts of the code. With this patch
the latest version builds OK too.

Please forward this upstream, since they are in a code freeze for wine-
1.8.

Thanks!
Index: wine-development-1.7.55/dlls/winepulse.drv/mmdevdrv.c
===================================================================
--- wine-development-1.7.55.orig/dlls/winepulse.drv/mmdevdrv.c
+++ wine-development-1.7.55/dlls/winepulse.drv/mmdevdrv.c
@@ -440,7 +440,7 @@ static void pulse_probe_settings(int ren
 static HRESULT pulse_connect(void)
 {
     int len;
-    WCHAR path[PATH_MAX], *name;
+    WCHAR path[MAX_PATH], *name;
     char *str;
 
     if (!pulse_thread)
@@ -519,7 +519,7 @@ static void pulse_phys_speakers_cb(pa_co
 static HRESULT pulse_test_connect(void)
 {
     int len, ret;
-    WCHAR path[PATH_MAX], *name;
+    WCHAR path[MAX_PATH], *name;
     char *str;
     pa_operation *o;
 

Reply to: