SOURCES: urxvt-link.patch - fix -lXpm detection.

pluto pluto at pld-linux.org
Thu Mar 9 14:06:46 CET 2006


Author: pluto                        Date: Thu Mar  9 13:06:44 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix -lXpm detection.

---- Files affected:
SOURCES:
   urxvt-link.patch (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/urxvt-link.patch
diff -u SOURCES/urxvt-link.patch:1.4 SOURCES/urxvt-link.patch:1.5
--- SOURCES/urxvt-link.patch:1.4	Sat Feb  4 20:47:29 2006
+++ SOURCES/urxvt-link.patch	Thu Mar  9 14:06:39 2006
@@ -1,3 +1,14 @@
+--- rxvt-unicode-7.7/aclocal.m4.orig	2006-01-22 01:48:13.000000000 +0100
++++ rxvt-unicode-7.7/aclocal.m4	2006-03-09 14:05:56.048362500 +0100
+@@ -176,7 +176,7 @@
+   # Don't add to $LIBS permanently.
+   ac_save_LIBS="$LIBS"
+   LIBS="$LIBS $X_LIBS -lXpm -lX11"
+-AC_TRY_LINK(, [XpmReadFileToPixmap()],
++AC_TRY_LINK([#include <X11/xpm.h>], [XpmReadFileToPixmap(0, 0, 0, 0, 0, 0);],
+ [LIBS="$ac_save_LIBS"
+ # We can link libXpm with no special library path.
+ vt_xpm_libraries=],
 diff -aurN rxvt-unicode-7.5.orig/configure.ac rxvt-unicode-7.5/configure.ac
 --- rxvt-unicode-7.5.orig/configure.ac	2006-01-28 22:26:37.000000000 +0100
 +++ rxvt-unicode-7.5/configure.ac	2006-02-04 20:46:00.617940000 +0100
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/urxvt-link.patch?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list