[Patch] Wrong #line directives in rxvtperl.C

Roland Baer roland at verifysoft.de
Tue Aug 8 10:37:28 CEST 2006


Hello,

the generator for src/rxvtperl.C xsubpp needs the filename
extension to be passed with "-csuffix .C". Otherwise, we
have #line references to the rxvtperl.c (lowercase) in that
file, and subsequently tools using that information fail to 
find that file.

Please apply attached patch Makefile.in.diff 

Roland
-------------- next part --------------
Index: src/Makefile.in
===================================================================
RCS file: /schmorpforge/rxvt-unicode/src/Makefile.in,v
retrieving revision 1.74
diff -u -w -r1.74 Makefile.in
--- src/Makefile.in	7 Aug 2006 16:17:30 -0000	1.74
+++ src/Makefile.in	8 Aug 2006 07:47:20 -0000
@@ -137,7 +137,7 @@
 	$(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt
 
 rxvtperl.C: rxvtperl.xs typemap
-	$(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap -prototypes rxvtperl.xs >$@
+	$(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -csuffix .C -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap -prototypes rxvtperl.xs >$@
 
 rxvtperl.o: rxvtperl.C perlxsi.c
 	$(COMPILE) @PERLFLAGS@ -DLIBDIR="\"$(libdir)/urxvt\"" -c $<


More information about the rxvt-unicode mailing list