net-misc/nxcompshad: Initial checkin

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2260 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-06-14 21:36:57 +00:00
parent ae0ca7cc8d
commit 849590076e
8 changed files with 175 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
--- nxcompshad/Misc.h.orig 2008-07-21 18:27:41 +0400
+++ nxcompshad/Misc.h 2008-07-21 18:31:17 +0400
@@ -20,8 +20,8 @@
#include <iostream>
-#include <errno.h>
-#include <string.h>
+#include <cerrno>
+#include <cstring>
using namespace std;

View File

@@ -0,0 +1,11 @@
--- nxcompshad/Makefile.in.orig 2008-12-05 13:57:18 +0300
+++ nxcompshad/Makefile.in 2008-12-05 13:57:05 +0300
@@ -48,7 +48,7 @@ CCINCLUDES =
CCDEFINES =
LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@ -L/usr/X11R6/lib -lX11
+LIBS = @LIBS@ -L/usr/X11R6/lib -lX11 -lXext
#
# Only if THREADS is defined.

View File

@@ -0,0 +1,21 @@
Title: Remove hardcoded O3 compiler flag
DEP: 3
State: CANDIDATE
Date: 2009-12-19
Abstract:
Remove hardcoded O3 compiler flag
--- nxcompshad/configure.in.orig 2008-12-18 15:56:13.000000000 +0100
+++ nxcompshad/configure.in 2008-12-18 15:56:22.000000000 +0100
@@ -5,11 +5,6 @@
AC_INIT(Shadow.h)
AC_PREREQ(2.13)
-dnl Reset default compilation flags.
-
-CXXFLAGS="-O3"
-CPPFLAGS="-O3"
-
dnl Reset default linking directives.
LIBSTATIC=""

View File

@@ -0,0 +1,22 @@
Title: Include headers from system directory
DEP: 3
State: CANDIDATE
Abstract:
Include headers from system directory
diff -urNad nxcompshad~/configure.in nxcompshad/configure.in
--- nxcompshad~/configure.in 2007-06-04 13:39:49.000000000 +0200
+++ nxcompshad/configure.in 2008-06-18 10:00:00.000000000 +0200
@@ -17,9 +17,9 @@
dnl Prefer headers and libraries from nx-X11, if present.
-if test -d "../nx-X11/exports/include" ; then
- CXXFLAGS="$CXXFLAGS -I../nx-X11/exports/include"
- LIBS="$LIBS -L../nx-X11/exports/lib"
+if test -d "/usr/include/nx" ; then
+ CXXFLAGS="$CXXFLAGS -I/usr/include/nx"
+ LIBS="$LIBS -L/usr/lib/nx"
fi
dnl Check whether --with-ipaq was given.