[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Info-xnee] patch for compilation issues
From: |
Mike Castle |
Subject: |
[Info-xnee] patch for compilation issues |
Date: |
Sun, 14 Sep 2003 23:00:08 -0700 |
User-agent: |
Mutt/1.4.1i |
Mostly modern homegrown Linux system with two exceptions: xfree 3.3.6 and
gcc 2.95.4 (from cvs). Also tend to build outside of the srcdir, per gnu
standards.
Need to following patch to compile. Note the patches against Makefile.in
really should be made against Makefile.am.
patch -p1 << \EOF
diff -ru xnee-1.07.91.orig/libxnee/include/libxnee/xnee.h
xnee-1.07.91/libxnee/include/libxnee/xnee.h
--- xnee-1.07.91.orig/libxnee/include/libxnee/xnee.h 2003-06-23
15:50:07.000000000 -0700
+++ xnee-1.07.91/libxnee/include/libxnee/xnee.h 2003-09-14 22:34:24.000000000
-0700
@@ -32,10 +32,10 @@
#include <stdlib.h>
#include <signal.h>
#include <semaphore.h>
+#include <time.h>
#include <sys/utsname.h>
-#include <X11/Xlibint.h>
#include <X11/Xproto.h>
#include <X11/Xlib.h>
diff -ru xnee-1.07.91.orig/libxnee/src/Makefile.in
xnee-1.07.91/libxnee/src/Makefile.in
--- xnee-1.07.91.orig/libxnee/src/Makefile.in 2003-06-23 16:14:06.000000000
-0700
+++ xnee-1.07.91/libxnee/src/Makefile.in 2003-09-14 22:22:17.000000000
-0700
@@ -78,7 +78,7 @@
@address@hidden = -DUSE_BUF_VERBOSE
@address@hidden = -DNO_BUF_VERBOSE
-CFLAGS = -I../include ${X_CFLAGS} -g ${VERBOSE_FLAG} ${GCOV_FLAG}
${GPROF_FLAG} ${BUF_VERBOSE_FLAG}
+CFLAGS = -I$(srcdir)/../include ${X_CFLAGS} -g ${VERBOSE_FLAG} ${GCOV_FLAG}
${GPROF_FLAG} ${BUF_VERBOSE_FLAG}
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
LIBRARIES = $(lib_LIBRARIES)
diff -ru xnee-1.07.91.orig/libxnee/src/xnee.c xnee-1.07.91/libxnee/src/xnee.c
--- xnee-1.07.91.orig/libxnee/src/xnee.c 2003-06-23 15:52:51.000000000
-0700
+++ xnee-1.07.91/libxnee/src/xnee.c 2003-09-14 22:22:17.000000000 -0700
@@ -34,7 +34,6 @@
#include <sys/utsname.h>
-#include <X11/Xlibint.h>
#include <X11/Xproto.h>
#include <X11/Xlib.h>
diff -ru xnee-1.07.91.orig/xnee/src/Makefile.in
xnee-1.07.91/xnee/src/Makefile.in
--- xnee-1.07.91.orig/xnee/src/Makefile.in 2003-06-23 16:14:07.000000000
-0700
+++ xnee-1.07.91/xnee/src/Makefile.in 2003-09-14 22:44:01.000000000 -0700
@@ -75,7 +75,7 @@
@address@hidden = -DUSE_BUF_VERBOSE
@address@hidden = -DNO_BUF_VERBOSE
-CFLAGS = -I../../libxnee/include ${X_CFLAGS} -g ${VERBOSE_FLAG} ${GCOV_FLAG}
${GPROF_FLAG} ${BUF_VERBOSE_FLAG}
+CFLAGS = -I$(srcdir)/../../libxnee/include ${X_CFLAGS} -g ${VERBOSE_FLAG}
${GCOV_FLAG} ${GPROF_FLAG} ${BUF_VERBOSE_FLAG}
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
PROGRAMS = $(bin_PROGRAMS)
EOF
--
Mike Castle address@hidden www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Info-xnee] patch for compilation issues,
Mike Castle <=