net-misc/nxcompext: Initial checkin

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2257 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-06-14 21:28:26 +00:00
parent b5b8cce95c
commit d0177bce30
7 changed files with 181 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 03_NXlib-xgetioerror.dpatch by <mshima@centrino-laptop>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Copied and description at the site:
## DP: http://www.felipe-alfaro.org/blog/2007/11/24/installing-freenx-071-on-ubuntu/
@DPATCH@
diff -urNad nxcompext-3.3.0-2~/NXlib.c nxcompext-3.3.0-2/NXlib.c
--- nxcompext-3.3.0-2~/NXlib.c 2007-11-12 13:01:30.000000000 -0200
+++ nxcompext-3.3.0-2/NXlib.c 2008-11-20 23:13:43.000000000 -0200
@@ -56,6 +56,9 @@
#include "MD5.h"
+#define _XGetIOError(dpy) \
+ (dpy -> flags & XlibDisplayIOError)
+
#define PANIC
#define WARNING
#undef TEST

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
--- nxcompext/configure.in.orig 2008-12-18 15:55:29.000000000 +0100
+++ nxcompext/configure.in 2008-12-18 15:55:51.000000000 +0100
@@ -5,11 +5,6 @@
AC_INIT(NXlib.h)
AC_PREREQ(2.13)
-dnl Reset default compilation flags.
-
-CXXFLAGS="-O3"
-CFLAGS="-O3"
-
dnl Reset default linking directives.
LIBSTATIC=""

View File

@@ -0,0 +1,31 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_no-local-nxcomp.dpatch by <marceloshima@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: This patch make nxcompext build with system libs
@DPATCH@
diff -urNad nxcompext-3.3.0-2~/Makefile.in nxcompext-3.3.0-2/Makefile.in
--- nxcompext-3.3.0-2~/Makefile.in 2007-06-04 10:11:39.000000000 -0300
+++ nxcompext-3.3.0-2/Makefile.in 2008-11-20 23:13:29.000000000 -0200
@@ -31,17 +31,17 @@
CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs
-CXXINCLUDES = -I. -I../nxcomp
+CXXINCLUDES = -I. -I/usr/include/nx -I/usr/include/X11 -I/usr/include/xorg -I/usr/include/pixman-1
CXXDEFINES =
CC = @CC@
CCFLAGS = @CFLAGS@ @X_CFLAGS@ @DEFS@ \
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs
-CCINCLUDES = -I. -I../nxcomp
+CCINCLUDES = -I. -I/usr/include/nx -I/usr/include/X11 -I/usr/include/xorg -I/usr/include/pixman-1
CCDEFINES =
-LDFLAGS = @LDFLAGS@ -L../nxcomp
+LDFLAGS = @LDFLAGS@ -L/usr/lib/nx/
LIBS = @LIBS@ -lz -lX11 -lXcomp
#