CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.10. Fixed config.h: no such file error
authorVictor Martinez <pitillo@ono.com>
Tue, 30 Sep 2014 15:28:41 +0000 (15:28 +0000)
committerVictor Martinez <pitillo@ono.com>
Tue, 30 Sep 2014 15:28:41 +0000 (15:28 +0000)
e2fsprogs/.footprint
e2fsprogs/.md5sum
e2fsprogs/Pkgfile
e2fsprogs/e2fsprogs-1.42.10-config.patch [new file with mode: 0644]

index 80a46af2b4751f8946e3562519c5beb1f4534aa9..02a085160c340741f31e0928ff538d3df379f7bb 100644 (file)
@@ -79,6 +79,9 @@ drwxr-xr-x    root/root       usr/man/man3/
 -rw-r--r--     root/root       usr/man/man3/com_err.3.gz
 drwxr-xr-x     root/root       usr/man/man5/
 -rw-r--r--     root/root       usr/man/man5/e2fsck.conf.5.gz
+lrwxrwxrwx     root/root       usr/man/man5/ext2.5.gz -> ext4.5.gz
+lrwxrwxrwx     root/root       usr/man/man5/ext3.5.gz -> ext4.5.gz
+-rw-r--r--     root/root       usr/man/man5/ext4.5.gz
 -rw-r--r--     root/root       usr/man/man5/mke2fs.conf.5.gz
 drwxr-xr-x     root/root       usr/man/man8/
 -rw-r--r--     root/root       usr/man/man8/badblocks.8.gz
index 43f65510f23c32ff6bac09ee2f66aa3e7eef1c67..49c766ab8a2733d094eee5b8a22bcbab3f8ade58 100644 (file)
@@ -1 +1,2 @@
-aca828bb4bcca20991a442deb950b670  e2fsprogs-1.42.5.tar.gz
+7756d9c1b823e4b1f9344a6f59d47bd3  e2fsprogs-1.42.10-config.patch
+62bfe2fe0a194c5c37165789ac2825a8  e2fsprogs-1.42.10.tar.gz
index 8a66c0eb3212b1db85620ae024508ff5f25c0c38..42468641475c368b2b1f8a6efcf30c0b8411b942 100644 (file)
@@ -5,13 +5,14 @@
 # Depends on: util-linux
 
 name=e2fsprogs
-version=1.42.5
-release=1
-source=(http://downloads.sourceforge.net/project/$name/$name/v$version/$name-$version.tar.gz)
+version=1.42.10
+release=2
+source=(http://downloads.sourceforge.net/project/$name/$name/v$version/$name-$version.tar.gz
+        $name-$version-config.patch)
 
 build() {
   cd $name-$version
-
+  patch -p1 -i $SRC/$name-$version-config.patch
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
@@ -26,12 +27,12 @@ build() {
               --disable-libuuid \
               --disable-uuidd
 
-  make
+  make -j1
   make -j1 DESTDIR=$PKG install install-libs
 
   # quota support is disabled by default
-  rm -r $PKG/usr/include/quota
-  rm $PKG/usr/lib/{libquota.a,pkgconfig/quota.pc}
+  #rm -r $PKG/usr/include/quota
+  #rm $PKG/usr/lib/{libquota.a,pkgconfig/quota.pc}
 
   rm -r $PKG/usr/share/info
 
diff --git a/e2fsprogs/e2fsprogs-1.42.10-config.patch b/e2fsprogs/e2fsprogs-1.42.10-config.patch
new file mode 100644 (file)
index 0000000..8ccd7d1
--- /dev/null
@@ -0,0 +1,20 @@
+2014-06-30 18:40:02.000000000 +0200
+@@ -0,0 +1,19 @@
+Subject: need to add includes to BUILD_CFLAGS for cross-building
+Author: Helmut Grohne <hel...@subdivi.de>
+Last-Modified: 2014-06-30
+
+Otherwise compiling util/subst.c fails because config.h cannot be found.
+
+Index: e2fsprogs-1.42.10/configure
+===================================================================
+--- e2fsprogs-1.42.10.orig/configure   2014-05-15 19:04:08.000000000 +0200
++++ e2fsprogs-1.42.10/configure        2014-06-30 18:36:53.451482000 +0200
+@@ -11479,7 +11479,7 @@
+    BUILD_CFLAGS="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H"
+    BUILD_LDFLAGS="$LDFLAGS"
+ else
+-   BUILD_CFLAGS=
++   BUILD_CFLAGS="$INCLUDES"
+    BUILD_LDFLAGS=
+ fi