Przeglądaj źródła

Fixes for build issues caused by recent restructuring

 * Add typedef for XF86OptionPtr for Xorg < 112
 * Include stddef.h to prevent missing size_t definition errors
 * Workaround for libtool convenience library issue
tags/v1.4.90
Brian P. Hinz 9 lat temu
rodzic
commit
86299fbc2b

+ 8
- 0
unix/xserver/hw/vnc/Makefile.am Wyświetl plik

@@ -31,6 +31,11 @@ Xvnc_SOURCES = xvnc.c \
$(top_srcdir)/Xi/stubs.c $(top_srcdir)/mi/miinitext.c \
$(top_srcdir)/fb/fbcmap_mi.c buildtime.c

# Xvnc contains no C++ sources so automake doesn't understand that we
# need to use the C++ compiler to link things. This is the upstream
# recommendation for coaxing automake.
nodist_EXTRA_Xvnc_SOURCES = dummy.cxx

Xvnc_CPPFLAGS = $(XVNC_CPPFLAGS) -DTIGERVNC -DNO_MODULE_EXTS \
-UHAVE_CONFIG_H \
-DXFree86Server -DVENDOR_RELEASE="$(VENDOR_RELEASE)" \
@@ -47,6 +52,9 @@ libvnc_ladir = $(moduledir)/extensions

libvnc_la_SOURCES = vncModule.c

# See Xvnc magic above
nodist_EXTRA_libvnc_la_SOURCES = dummy.cxx

libvnc_la_CPPFLAGS = $(XVNC_CPPFLAGS) -I$(TIGERVNC_SRCDIR)/common -UHAVE_CONFIG_H \
-I$(top_srcdir)/hw/xfree86/common \
-I$(top_srcdir)/hw/xfree86/os-support \

+ 1
- 0
unix/xserver/hw/vnc/vncExtInit.h Wyświetl plik

@@ -20,6 +20,7 @@
#define __VNCEXTINIT_H__

#include <stdint.h>
#include <stddef.h>
#include <sys/select.h>

// Only from C++

+ 3
- 0
unix/xserver/hw/vnc/vncModule.c Wyświetl plik

@@ -29,6 +29,9 @@
#endif

#include "xorg-version.h"
#if XORG <= 111
typedef pointer XF86OptionPtr;
#endif

#include "xf86.h"
#include "xf86Module.h"

Ładowanie…
Anuluj
Zapisz