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

Roy Rankin rrankin at fedoraproject.org
Sun Sep 7 13:05:49 UTC 2008


Author: rrankin

Update of /cvs/pkgs/rpms/gpsim/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14912

Modified Files:
	gpsim.spec 
Added Files:
	gpsim-0.22.0-acinclude.patch 
Log Message:
Fix PPC build


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/F-9/gpsim.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- gpsim.spec	7 Sep 2008 03:03:06 -0000	1.18
+++ gpsim.spec	7 Sep 2008 13:05:19 -0000	1.19
@@ -9,9 +9,12 @@
 URL:		http://www.dattalo.com/gnupic/gpsim.html
 Source:		http://dl.sf.net/gpsim/gpsim-%{version}.tar.gz
 Patch0:		%{name}-%{version}-gccfix.patch
+Patch1:         %{name}-%{version}-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 +48,8 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+autoconf
 
 %build
 %configure




More information about the fedora-extras-commits mailing list