SOURCES (megabajt): poldek-build-fix.patch - updated for new snap

megabajt megabajt at pld-linux.org
Thu Feb 21 01:01:52 CET 2008


Author: megabajt                     Date: Thu Feb 21 00:01:52 2008 GMT
Module: SOURCES                       Tag: megabajt
---- Log message:
- updated for new snap

---- Files affected:
SOURCES:
   poldek-build-fix.patch (1.1.2.1 -> 1.1.2.2) 

---- Diffs:

================================================================
Index: SOURCES/poldek-build-fix.patch
diff -u SOURCES/poldek-build-fix.patch:1.1.2.1 SOURCES/poldek-build-fix.patch:1.1.2.2
--- SOURCES/poldek-build-fix.patch:1.1.2.1	Fri Jan  4 10:53:28 2008
+++ SOURCES/poldek-build-fix.patch	Thu Feb 21 01:01:47 2008
@@ -1,7 +1,26 @@
-diff -urN poldek-0.21-cvs20080103.17/libpoldek.sym poldek-0.21-cvs20080103.17.new/libpoldek.sym
---- poldek-0.21-cvs20080103.17/libpoldek.sym	2007-07-11 00:55:43.000000000 +0200
-+++ poldek-0.21-cvs20080103.17.new/libpoldek.sym	2008-01-04 09:50:39.000000000 +0100
-@@ -120,6 +120,7 @@
+diff -urN poldek-0.21-cvs20080220.23/install3/obsoletes.c poldek-0.21-cvs20080220.23.new/install3/obsoletes.c
+--- poldek-0.21-cvs20080220.23/install3/obsoletes.c	2008-02-03 20:07:42.000000000 +0100
++++ poldek-0.21-cvs20080220.23.new/install3/obsoletes.c	2008-02-21 00:15:11.000000000 +0100
+@@ -20,13 +20,14 @@
+ static struct orphan *orphan_new(struct pkg *pkg, tn_array *caps) 
+ {
+     struct orphan *o;
++    int	i;
+ 
+     o = n_malloc(sizeof(*o));
+     o->pkg = pkg_link(pkg);
+     o->reqs = capreq_arr_new(4);
+     n_array_ctl_set_freefn(o->reqs, NULL); /* weak ref */
+     
+-    for (int i=0; i < n_array_size(caps); i++) {
++    for (i=0; i < n_array_size(caps); i++) {
+         const struct capreq *req;
+         struct capreq *cap = n_array_nth(caps, i);
+ 
+diff -urN poldek-0.21-cvs20080220.23/libpoldek.sym poldek-0.21-cvs20080220.23.new/libpoldek.sym
+--- poldek-0.21-cvs20080220.23/libpoldek.sym	2008-02-03 20:07:41.000000000 +0100
++++ poldek-0.21-cvs20080220.23.new/libpoldek.sym	2008-02-21 00:13:35.000000000 +0100
+@@ -121,6 +121,7 @@
  pkgdb_tx_begin
  pkgdb_tx_commit
  pkgdir_add_package
@@ -9,21 +28,9 @@
  pkgdir_diff
  pkgdir_free
  pkgdir_isremote
-diff -urN poldek-0.21-cvs20080103.17/pkgdir/hdrl/hdrl.c poldek-0.21-cvs20080103.17.new/pkgdir/hdrl/hdrl.c
---- poldek-0.21-cvs20080103.17/pkgdir/hdrl/hdrl.c	2007-10-30 22:57:33.000000000 +0100
-+++ poldek-0.21-cvs20080103.17.new/pkgdir/hdrl/hdrl.c	2008-01-04 10:07:26.000000000 +0100
-@@ -97,7 +97,7 @@
-         return -1;
-     }
-    
--#ifdef HEADER_MAGIC_YES 
-+#ifdef HAVE_HEADER_MAGIC_YES 
-     while ((h = headerRead(fdt, HEADER_MAGIC_YES))) {
- #else
-     while ((h = headerRead(fdt))) {
-diff -urN poldek-0.21-cvs20080103.17/pkgdir/source_mkidx.c poldek-0.21-cvs20080103.17.new/pkgdir/source_mkidx.c
---- poldek-0.21-cvs20080103.17/pkgdir/source_mkidx.c	2007-07-11 00:50:21.000000000 +0200
-+++ poldek-0.21-cvs20080103.17.new/pkgdir/source_mkidx.c	2008-01-04 09:49:53.000000000 +0100
+diff -urN poldek-0.21-cvs20080220.23/pkgdir/source_mkidx.c poldek-0.21-cvs20080220.23.new/pkgdir/source_mkidx.c
+--- poldek-0.21-cvs20080220.23/pkgdir/source_mkidx.c	2007-07-11 00:50:21.000000000 +0200
++++ poldek-0.21-cvs20080220.23.new/pkgdir/source_mkidx.c	2008-02-21 00:13:35.000000000 +0100
 @@ -276,7 +276,7 @@
      struct source   *src;
      struct pkgdir   *pkgdir;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/poldek-build-fix.patch?r1=1.1.2.1&r2=1.1.2.2&f=u



More information about the pld-cvs-commit mailing list