Ticket #2770: libxklavier.diff
File libxklavier.diff, 3.2 KB (added by danchr@…, 20 years ago) |
---|
-
gnome/libxklavier/Portfile
diff --exclude=CVS -Naur /usr/src/darwinports/dports/gnome/libxklavier/Portfile gnome/libxklavier/Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name libxklavier 5 version 1. 045 version 1.14 6 6 description libxklavier - utility library to make XKB stuff easier 7 7 long_description ${description} 8 8 maintainers gnome-darwinports@opendarwin.org … … 10 10 platforms darwin 11 11 homepage http://www.freedesktop.org/Software/LibXklavier 12 12 master_sites sourceforge:gswitchit 13 checksums md5 322078ad3681465f69a65c0758c74460 13 checksums md5 218728a9b14d865888305194b5d5214f 14 patchfiles xklavier-darwin.diff xklavier-no-Werror.diff 14 15 depends_lib lib:libgailutil:gail -
gnome/libxklavier/files/xklavier-darwin.diff
diff --exclude=CVS -Naur /usr/src/darwinports/dports/gnome/libxklavier/files/xklavier-darwin.diff gnome/libxklavier/files/xklavier-darwin.diff
old new 1 --- libxklavier/xklavier_config_xkb.c.old Thu Feb 10 16:18:31 2005 2 +++ libxklavier/xklavier_config_xkb.c Thu Feb 10 16:21:15 2005 3 @@ -362,6 +362,11 @@ 4 } 5 #endif 6 7 +#ifdef __APPLE__ 8 + /* XKB does not work on Darwin, but we pretend it does */ 9 + return True; 10 +#endif 11 + 12 #ifdef XKB_HEADERS_PRESENT 13 XkbComponentNamesRec componentNames; 14 memset( &componentNames, 0, sizeof( componentNames ) ); -
gnome/libxklavier/files/xklavier-no-Werror.diff
diff --exclude=CVS -Naur /usr/src/darwinports/dports/gnome/libxklavier/files/xklavier-no-Werror.diff gnome/libxklavier/files/xklavier-no-Werror.diff
old new 1 diff -ru ./libxklavier/Makefile.in ../libxklavier-1.14.bak/libxklavier/Makefile.in 2 --- ./libxklavier/Makefile.in Fri Feb 11 15:55:44 2005 3 +++ ../libxklavier-1.14.bak/libxklavier/Makefile.in Fri Feb 11 15:53:32 2005 4 @@ -205,7 +205,7 @@ 5 @ENABLE_XKB_SUPPORT_TRUE@ENABLE_XKB_SUPPORT_CFLAG = -DENABLE_XKB_SUPPORT=1 6 @ENABLE_XMM_SUPPORT_FALSE@ENABLE_XMM_SUPPORT_CFLAG = -DDISABLE_XMM_SUPPORT=1 7 @ENABLE_XMM_SUPPORT_TRUE@ENABLE_XMM_SUPPORT_CFLAG = -DENABLE_XMM_SUPPORT=1 8 -AM_CFLAGS = -Wall -Werror -DDATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 9 +AM_CFLAGS = -Wall -DDATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 10 -I. -I$(includedir) $(XML_CFLAGS) -I$(x_includes) -I$(top_srcdir) \ 11 $(XKB_HEADERS_PRESENT_CFLAG) \ 12 $(ENABLE_XKB_SUPPORT_CFLAG) \ 13 diff -ru ./tests/Makefile.in ../libxklavier-1.14.bak/tests/Makefile.in 14 --- ./tests/Makefile.in Fri Feb 11 15:55:45 2005 15 +++ ../libxklavier-1.14.bak/tests/Makefile.in Fri Feb 11 15:53:32 2005 16 @@ -188,7 +188,7 @@ 17 xkbheaders_present = @xkbheaders_present@ 18 test_config_SOURCES = test_config.c 19 test_monitor_SOURCES = test_monitor.c 20 -AM_CFLAGS = -Wall -Werror -I$(includedir) -I$(x_includes) -I$(top_srcdir) 21 +AM_CFLAGS = -Wall -I$(includedir) -I$(x_includes) -I$(top_srcdir) 22 AM_LDFLAGS = $(top_builddir)/libxklavier/libxklavier.la -L$(x_libraries) -lX11 23 all: all-am 24