rpms/gpsim/devel gpsim-0.22.0-acinclude.patch, NONE, 1.1 gpsim.spec, 1.18, 1.19

Kevin Kofler kkofler at fedoraproject.org
Sun Sep 7 19:45:26 UTC 2008


Author: kkofler

Update of /cvs/pkgs/rpms/gpsim/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28881/devel

Modified Files:
	gpsim.spec 
Added Files:
	gpsim-0.22.0-acinclude.patch 
Log Message:
- PPC build fix (acinclude readline problem) by Mamoru Tasaka

gpsim-0.22.0-acinclude.patch:

--- NEW FILE gpsim-0.22.0-acinclude.patch ---
--- gpsim-0.22.0/acinclude.m4.debug	2006-11-02 14:43:21.000000000 +0900
+++ gpsim-0.22.0/acinclude.m4	2008-09-07 14:57:46.000000000 +0900
@@ -54,18 +54,6 @@
 dnl AC_CHECK_FUNC(rl_completion_append_character, [wi_cv_lib_readline=yes],[
 dnl 	wi_cv_lib_readline=no;wi_cv_lib_readline_result="no (it is present but too old to use)"
 dnl ])
-	AC_TRY_LINK([
-		/* includes */
-	],[
-		/* function-body */
-		readline(0);
-		rl_completion_append_character(0);
-	],[
-		wi_cv_lib_readline=yes
-	],[
-		wi_cv_lib_readline=no
-		wi_cv_lib_readline_result="no (it is present but too old to use)"
-	])
 
 if test "$wi_cv_lib_readline" = no ; then
 	LIBREADLINE=""


Index: gpsim.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gpsim/devel/gpsim.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- gpsim.spec	7 Sep 2008 19:31:25 -0000	1.18
+++ gpsim.spec	7 Sep 2008 19:44:56 -0000	1.19
@@ -9,9 +9,11 @@
 URL:		http://www.dattalo.com/gnupic/gpsim.html
 Source:		http://dl.sf.net/gpsim/gpsim-%{version}.tar.gz
 Patch0:		gpsim-0.22.0-gcc43.patch
+Patch1:		gpsim-0.22.0-acinclude.patch
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	gtk+extra-devel, flex, readline-devel, popt-devel
+BuildRequires:	autoconf
 
 %description
 gpsim is a simulator for Microchip (TM) PIC (TM) microcontrollers.
@@ -45,6 +47,8 @@
 %prep
 %setup -q
 %patch0 -p1 -b .gcc43
+%patch1 -p1 -b .acinclude
+autoconf
 
 %build
 %configure
@@ -85,6 +89,7 @@
 * Sun Sep 07 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 0.22.0-7
 - Fix build with GCC 4.3 (#434061), patch by Vasile Gaburici, simpler fix for
   the "list" name conflict from the Debian patch
+- PPC build fix (acinclude readline problem) by Mamoru Tasaka
 
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.22.0-6
 - Autorebuild for GCC 4.3




More information about the fedora-extras-commits mailing list