linamh/net-misc/nxcompext/files/nxcompext-3.4.0-no-local-nxcomp.patch

32 lines
1.2 KiB
Diff
Raw Normal View History

#! /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
#