summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgutils/.md5sum1
-rw-r--r--pkgutils/Pkgfile10
-rw-r--r--pkgutils/pkgutils-largefiles.patch12
3 files changed, 19 insertions, 4 deletions
diff --git a/pkgutils/.md5sum b/pkgutils/.md5sum
index 93caf313..95a2cbdc 100644
--- a/pkgutils/.md5sum
+++ b/pkgutils/.md5sum
@@ -1 +1,2 @@
b6cc9b6371d8c529ef7ec6f93fbc9903 pkgutils-5.20.tar.gz
+60fbc1302e39c97435e2790d6a596046 pkgutils-largefiles.patch
diff --git a/pkgutils/Pkgfile b/pkgutils/Pkgfile
index b2058d84..e94eb1f4 100644
--- a/pkgutils/Pkgfile
+++ b/pkgutils/Pkgfile
@@ -4,10 +4,12 @@
name=pkgutils
version=5.20
-release=1
-source=(http://www.fukt.bth.se/~per/pkgutils/$name-$version.tar.gz)
+release=2
+source=(http://www.fukt.bth.se/~per/pkgutils/$name-$version.tar.gz \
+ $name-largefiles.patch)
build () {
- cd $name-$version
- make DESTDIR=$PKG install
+ cd $name-$version
+ patch -p0 -i $SRC/$name-largefiles.patch
+ make DESTDIR=$PKG install
}
diff --git a/pkgutils/pkgutils-largefiles.patch b/pkgutils/pkgutils-largefiles.patch
new file mode 100644
index 00000000..c27db680
--- /dev/null
+++ b/pkgutils/pkgutils-largefiles.patch
@@ -0,0 +1,12 @@
+--- Makefile.orig 2006-03-08 13:40:45.919863744 -0600
++++ Makefile 2006-03-08 13:41:08.730396016 -0600
+@@ -29,7 +29,8 @@
+
+ CXXFLAGS += -DNDEBUG
+ CXXFLAGS += -O2 -Wall -pedantic -D_GNU_SOURCE -DVERSION=\"$(VERSION)\" \
+- -Ilibtar-$(LIBTAR_VERSION)/lib -Ilibtar-$(LIBTAR_VERSION)/listhash
++ -Ilibtar-$(LIBTAR_VERSION)/lib -Ilibtar-$(LIBTAR_VERSION)/listhash \
++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+
+ LDFLAGS += -static -Llibtar-$(LIBTAR_VERSION)/lib -ltar -lz
+

Generated by cgit