rpms/swig/F-9 swig-arch.patch,1.3,1.4 swig.spec,1.38,1.39

Oliver Falk oliver at fedoraproject.org
Mon Feb 16 20:57:56 UTC 2009


Author: oliver

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

Modified Files:
	swig-arch.patch swig.spec 
Log Message:

* Mon Feb 16 2009 Oliver Falk <oliver at linux-kernel.at> 1.3.33-4
- Fix arch patch for alpha


swig-arch.patch:

Index: swig-arch.patch
===================================================================
RCS file: /cvs/pkgs/rpms/swig/F-9/swig-arch.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- swig-arch.patch	16 May 2008 08:28:18 -0000	1.3
+++ swig-arch.patch	16 Feb 2009 20:57:55 -0000	1.4
@@ -1,7 +1,7 @@
-diff -up swig-1.3.35/Source/Preprocessor/cpp.c.arch swig-1.3.35/Source/Preprocessor/cpp.c
---- swig-1.3.35/Source/Preprocessor/cpp.c.arch	2008-05-16 10:10:38.000000000 +0200
-+++ swig-1.3.35/Source/Preprocessor/cpp.c	2008-05-16 10:15:40.000000000 +0200
-@@ -187,6 +187,14 @@ void Preprocessor_init(void) {
+diff -up swig-1.3.33/Source/Preprocessor/cpp.c.arch swig-1.3.33/Source/Preprocessor/cpp.c
+--- swig-1.3.33/Source/Preprocessor/cpp.c.arch	2007-10-08 14:02:56.000000000 +0200
++++ swig-1.3.33/Source/Preprocessor/cpp.c	2009-02-16 09:36:16.000000000 +0100
+@@ -187,6 +187,16 @@ void Preprocessor_init(void) {
  
    id_scan = NewScanner();;
  
@@ -9,6 +9,8 @@
 +  Preprocessor_define("__x86_64__", 0);
 +#elif defined(__powerpc64__)
 +  Preprocessor_define("__powerpc64__", 0);
++#elif defined(__alpha__)
++  Preprocessor_define("__alpha__", 0);
 +#else
 +  Preprocessor_define("__i386__", 0);
 +#endif


Index: swig.spec
===================================================================
RCS file: /cvs/pkgs/rpms/swig/F-9/swig.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- swig.spec	16 May 2008 08:28:18 -0000	1.38
+++ swig.spec	16 Feb 2009 20:57:55 -0000	1.39
@@ -4,7 +4,7 @@
 Summary: Connects C/C++/Objective C to some high-level programming languages.
 Name: swig
 Version: 1.3.33
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: BSD
 Group: Development/Tools
 URL: http://swig.sourceforge.net/
@@ -60,6 +60,9 @@
 %{_datadir}/swig
 
 %changelog
+* Mon Feb 16 2009 Oliver Falk <oliver at linux-kernel.at> 1.3.33-4
+- Fix arch patch for alpha
+
 * Fri May 16 2008 Adam Tkac <atkac redhat com> 1.3.33-2
 - readded arch patch
 




More information about the fedora-extras-commits mailing list