Sfoglia il codice sorgente

Linux hates redeclaration of sys_errlist, too

Ralf S. Engelschall 23 anni fa
parent
commit
fc94d33ebe
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      xv/xv.patch
  2. 1 1
      xv/xv.spec

+ 1 - 1
xv/xv.patch

@@ -6,7 +6,7 @@ diff -Naur xv-3.10a.orig/xv.h xv-3.10a/xv.h
  #  include <errno.h>
     extern int   errno;             /* SHOULD be in errno.h, but often isn't */
 -#  ifndef __NetBSD__
-+#  if !defined(__NetBSD__) && !defined(__FreeBSD__)
++#  if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__linux__)
       extern char *sys_errlist[];     /* this too... */
  #  endif
  #endif

+ 1 - 1
xv/xv.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
 Group:        XWindow
 License:      XV
 Version:      3.10a
-Release:      20021201
+Release:      20030111
 
 #   list of sources
 Source0:      ftp://ftp.cis.upenn.edu/pub/xv/xv-%{version}.tar.gz