mclasen pushed to pkgconfig (master). "Make pkgconfig handle large file systems"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 17 19:07:38 UTC 2015


>From 572b85a605213e245b3575f1f1ac08d6edb0cbf3 Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen at redhat.com>
Date: Fri, 17 Apr 2015 15:07:04 -0400
Subject: Make pkgconfig handle large file systems


diff --git a/pkg-config-large-fs.patch b/pkg-config-large-fs.patch
new file mode 100644
index 0000000..eb16e24
--- /dev/null
+++ b/pkg-config-large-fs.patch
@@ -0,0 +1,27 @@
+From adcc4acf70c90cb3535a4caa49c406bda8364c14 Mon Sep 17 00:00:00 2001
+From: Peter Jones <pjones at redhat.com>
+Date: Wed, 15 Apr 2015 12:25:29 -0400
+Subject: [PATCH] Enable large file support
+
+Signed-off-by: Peter Jones <pjones at redhat.com>
+---
+ configure.ac | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 2b33371..1a321e1 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -17,6 +17,9 @@ dnl by either passing --disable-silent-rules to configure or passing V=1
+ dnl to make
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+ 
++dnl Enable large file support
++AC_SYS_LARGEFILE
++
+ dnl Check for programs
+ AC_PROG_CC
+ AC_CHECK_PROG([LN], [ln], [ln], [cp -Rp])
+-- 
+2.3.5
+
diff --git a/pkgconfig.spec b/pkgconfig.spec
index 0e16dd7..341b590 100644
--- a/pkgconfig.spec
+++ b/pkgconfig.spec
@@ -1,7 +1,7 @@
 Summary: A tool for determining compilation options
 Name: pkgconfig
 Version: 0.28
-Release: 7%{?dist}
+Release: 8%{?dist}
 Epoch: 1
 License: GPLv2+
 URL: http://pkgconfig.freedesktop.org
@@ -11,6 +11,9 @@ Source:  http://www.freedesktop.org/software/pkgconfig/releases/pkg-config-%{ver
 # https://bugs.freedesktop.org/show_bug.cgi?id=66155
 Patch0: pkg-config-man-cleanup.patch
 
+# https://bugzilla.redhat.com/show_bug.cgi?id=1212956
+Patch1: pkg-config-large-fs.patch
+
 BuildRequires: glib2-devel
 
 Provides: pkgconfig(pkg-config) = %{version}
@@ -23,8 +26,10 @@ compiler and linker flags.
 %prep
 %setup -n pkg-config-%{version} -q
 %patch0 -p1 -b .man-cleanup
+%patch1 -p1 -b .lfs
 
 %build
+autoreconf -i
 %configure \
         --disable-shared \
         --with-installed-glib \
@@ -50,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/pkg-config
 %{_datadir}/aclocal/*
 
 %changelog
+* Fri Apr 17 2015 Matthias Clasen <mclasen at redhat.com> - 1:0.28-8
+- Make pkg-config handle large file systems (#1212956)
+
 * Sat Feb 21 2015 Till Maas <opensource at till.name> - 1:0.28-7
 - Rebuilt for Fedora 23 Change
   https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/pkgconfig.git/commit/?h=master&id=572b85a605213e245b3575f1f1ac08d6edb0cbf3


More information about the scm-commits mailing list