Quellcode durchsuchen

modifying package: perl-dbi-5.8.8 20060505 -> 20060508

Ralf S. Engelschall vor 19 Jahren
Ursprung
Commit
eea4af2f6b
2 geänderte Dateien mit 28 neuen und 9 gelöschten Zeilen
  1. 25 6
      perl-dbi/perl-dbi.patch
  2. 3 3
      perl-dbi/perl-dbi.spec

+ 25 - 6
perl-dbi/perl-dbi.patch

@@ -1,6 +1,6 @@
-Index: Makefile.PL
---- Makefile.PL.orig	2005-06-20 14:45:11 +0200
-+++ Makefile.PL	2005-06-21 21:02:43 +0200
+Index: DBD-SQLite-1.12/Makefile.PL
+--- DBD-SQLite-1.12/Makefile.PL.orig	2005-06-20 14:45:11 +0200
++++ DBD-SQLite-1.12/Makefile.PL	2005-06-21 21:02:43 +0200
 @@ -7,34 +7,6 @@
  use ExtUtils::MakeMaker;
  use Config;
@@ -47,9 +47,9 @@ Index: Makefile.PL
      $force_local ? () : ('LIBS' => '-lsqlite3'),
      $sqlite_lib  ? ('dynamic_lib' => { OTHERLDFLAGS => "-L$sqlite_lib" }) : (),
      'OPTIMIZE'      => "-O2",
-Index: dbdimp.h
---- dbdimp.h.orig	2004-09-10 17:24:28 +0200
-+++ dbdimp.h	2005-06-21 21:01:54 +0200
+Index: DBD-SQLite-1.12/dbdimp.h
+--- DBD-SQLite-1.12/dbdimp.h.orig	2004-09-10 17:24:28 +0200
++++ DBD-SQLite-1.12/dbdimp.h	2005-06-21 21:01:54 +0200
 @@ -4,7 +4,7 @@
  #define _DBDIMP_H   1
  
@@ -59,3 +59,22 @@ Index: dbdimp.h
  
  /* 30 second timeout by default */
  #define SQL_TIMEOUT 30000
+Index: DBI-1.50/dbipport.h
+--- DBI-1.50/dbipport.h.orig	2005-03-25 21:57:51 +0100
++++ DBI-1.50/dbipport.h	2006-05-08 08:42:30 +0200
+@@ -217,6 +217,7 @@
+ /* Replace: 0 */
+ #endif
+ 
++#ifndef PERL_UNUSED_DECL
+ #ifdef HASATTRIBUTE
+ #  if defined(__GNUC__) && defined(__cplusplus)
+ #    define PERL_UNUSED_DECL
+@@ -226,6 +227,7 @@
+ #else
+ #  define PERL_UNUSED_DECL
+ #endif
++#endif
+ 
+ #ifndef dNOOP
+ #  define NOOP (void)0

+ 3 - 3
perl-dbi/perl-dbi.spec

@@ -36,7 +36,7 @@
 %define       V_dbd_sprite      0.56
 %define       V_dbd_sqlite      1.12
 %define       V_dbd_mysql       3.0003
-%define       V_dbd_pgsql       1.48
+%define       V_dbd_pgsql       1.49
 %define       V_dbd_oracle      1.17
 %define       V_dbd_sybase      1.07_01
 %define       V_dbd_odbc        1.13
@@ -52,7 +52,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20060505
+Release:      20060508
 
 #   package options
 %option       with_dbd_sqlite  yes
@@ -233,7 +233,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 13
     %setup -q -T -D -a 14
     %setup -q -T -D -a 15
-    %patch -p0 -d DBD-SQLite-%{V_dbd_sqlite}
+    %patch -p0
 
 %build