Patch to linkchecker.spec:
--------------------------

Index: linkchecker.spec
===================================================================
RCS file: /e/openpkg/cvs/openpkg-src/linkchecker/linkchecker.spec,v
retrieving revision 1.69
diff -u -r1.69 linkchecker.spec
--- linkchecker.spec    9 Feb 2005 20:29:18 -0000       1.69
+++ linkchecker.spec    11 Feb 2005 19:49:26 -0000
@@ -38,11 +38,12 @@
 Group:        Misc
 License:      GPL
 Version:      %{V_linkchecker}
-Release:      20050209
+Release:      20050211
 
 #   list of sources
 Source0:      
http://osdn.dl.sourceforge.net/linkchecker/linkchecker-%{V_linkchecker}.tar.gz
 Source1:      
http://osdn.dl.sourceforge.net/sourceforge/pydns/pydns-%{V_pydns}.tgz
+Patch0:       linkchecker.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -70,6 +71,8 @@
 %prep
     %setup -q -c
     %setup -q -T -D -a 1
+    cd linkchecker-%{V_linkchecker}
+    %patch -p0
 
 %build
     ( cd linkchecker-%{V_linkchecker}


linkchecker.patch
-----------------

Index: setup.py
===================================================================
RCS file: /cvs/opkg/vendor_stuff/linkchecker/setup.py,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 setup.py
--- setup.py    7 Feb 2005 00:30:28 -0000       1.1.1.1
+++ setup.py    11 Feb 2005 16:07:57 -0000
@@ -195,10 +195,10 @@
     def build_extensions (self):
         # For gcc 3.x we can add -std=gnu99 to get rid of warnings.
         extra = []
-        if self.compiler.compiler_type == 'unix':
-            option = "-std=gnu99"
-            if cc_supports_option(self.compiler.compiler, option):
-                extra.append(option)
+        #if self.compiler.compiler_type == 'unix':
+            #option = "-std=gnu99"
+            #if cc_supports_option(self.compiler.compiler, option):
+                #extra.append(option)
         # First, sanity-check the 'extensions' list
         self.check_extensions_list(self.extensions)
         for ext in self.extensions:

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
  >> Im prämotorischen Cortex kann jeder ein Held sein. (bdw) <<
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to