pkgsrc/net/dctc/patches/patch-ac
adam 75c4fd4fd3 Changes 0.85.9:
* 'done' log file contains upload log.
* fix the incorrect information sent to the UI when uploading a file bigger than
  2GB (only the display is buggy, the transfer works).
* update .spec file to support fedora (based on Sammy Atmadja modification).
2010-06-02 13:07:12 +00:00

22 lines
790 B
Text

$NetBSD: patch-ac,v 1.9 2010/06/02 13:07:12 adam Exp $
--- src/keyboard_master.c.orig 2004-01-09 18:16:01.000000000 +0000
+++ src/keyboard_master.c
@@ -48,8 +48,7 @@ $Id: keyboard_master.c,v 1.14 2004/01/09
#include <glib.h>
-#if !(defined(BSD) && (BSD >= 199103))
- #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
+ #if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) || defined(__DragonFly__)
/* union semun is defined by including <sys/sem.h> */
#else
/* according to X/OPEN we have to define it ourselves */
@@ -60,7 +59,6 @@ $Id: keyboard_master.c,v 1.14 2004/01/09
struct seminfo *__buf; /* buffer for IPC_INFO */
};
#endif
-#endif
#include "dc_com.h"
#include "display.h"