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:
@@ -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
|
||||
21
net-misc/nxcompext/files/nxcompext-3.4.0-cflags.patch
Normal file
21
net-misc/nxcompext/files/nxcompext-3.4.0-cflags.patch
Normal 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=""
|
||||
@@ -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
|
||||
|
||||
#
|
||||
Reference in New Issue
Block a user