packages: pchar/pchar.spec, pchar/ac264-hack.patch (NEW) - added ac264-hack...

sls sls at pld-linux.org
Sun Sep 18 14:42:26 CEST 2011


Author: sls                          Date: Sun Sep 18 12:42:26 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added ac264-hack.patch

---- Files affected:
packages/pchar:
   pchar.spec (1.25 -> 1.26) , ac264-hack.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/pchar/pchar.spec
diff -u packages/pchar/pchar.spec:1.25 packages/pchar/pchar.spec:1.26
--- packages/pchar/pchar.spec:1.25	Wed Nov 21 00:01:52 2007
+++ packages/pchar/pchar.spec	Sun Sep 18 14:42:21 2011
@@ -11,6 +11,7 @@
 Patch0:		%{name}-ac_fixes.patch
 Patch1:		%{name}-build.patch
 Patch2:		%{name}-gcc4.patch
+Patch3:		ac264-hack.patch
 URL:		http://www.employees.org/~bmah/Software/pchar/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -35,6 +36,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 cp -f /usr/share/automake/config.* .
@@ -68,6 +70,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2011/09/18 12:42:21  sls
+- added ac264-hack.patch
+
 Revision 1.25  2007/11/20 23:01:52  glen
 - rel 1
 

================================================================
Index: packages/pchar/ac264-hack.patch
diff -u /dev/null packages/pchar/ac264-hack.patch:1.1
--- /dev/null	Sun Sep 18 14:42:26 2011
+++ packages/pchar/ac264-hack.patch	Sun Sep 18 14:42:21 2011
@@ -0,0 +1,16 @@
+- modified icu/ac264-hack.patch
+--- pchar-1.5/configure.in.orig	2010-10-30 18:42:59.558065157 +0200
++++ pchar-1.5/configure.in	2010-10-30 18:43:08.552229974 +0200
+@@ -13,6 +13,12 @@ AC_ARG_WITH(pcap, [  --with-pcap		  use 
+ AC_ARG_WITH(snmp, [  --with-snmp		  use UCD SNMP library])
+ AC_ARG_WITH(suid, [  --with-suid		  install SUID root])
+ 
++dnl this AC_LINK_IFELSE is early here so that ac 2.64 wouldn't define the `ac_fn_cxx_try_link' in if..else condition
++dnl this is a hack but at this time i don't know what is the real fix
++AC_LANG_PUSH([C++])
++AC_LINK_IFELSE([AC_LANG_PROGRAM()])
++AC_LANG_POP([C++])
++
+ dnl Checks for programs.
+ AC_PROG_AWK
+ AC_PROG_CXX
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pchar/pchar.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list