[qrencode/f16] Add patch to fix LIBPTHREAD macro in pkgconfig file. (#795582)

Peter Gordon pgordon at fedoraproject.org
Thu Feb 23 08:56:08 UTC 2012


commit 81bf4ea7b3c369ea5a81addb711d5708363bf652
Author: Peter Gordon <peter at thecodergeek.com>
Date:   Thu Feb 23 00:29:11 2012 -0800

    Add patch to fix LIBPTHREAD macro in pkgconfig file. (#795582)

 qrencode-fix-LIBPTHREAD-macro.patch |    9 +++++++++
 qrencode.spec                       |    8 +++++++-
 2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/qrencode-fix-LIBPTHREAD-macro.patch b/qrencode-fix-LIBPTHREAD-macro.patch
new file mode 100644
index 0000000..9062949
--- /dev/null
+++ b/qrencode-fix-LIBPTHREAD-macro.patch
@@ -0,0 +1,9 @@
+--- ./libqrencode.pc.in.orig	2012-02-20 15:36:29.983533958 -0800
++++ ./libqrencode.pc.in.orig	2012-02-20 15:56:41.252501662 -0800
+@@ -6,5 +6,5 @@ includedir=@includedir@
+ Name: libqrencode
+ Description: A QR Code encoding library
+ Version: @VERSION@
+-Libs: -L${libdir} -lqrencode @LIBPTHREAD@
++Libs: -L${libdir} -lqrencode -pthread
+ Cflags: -I${includedir}
diff --git a/qrencode.spec b/qrencode.spec
index 2b44474..7f28cc8 100644
--- a/qrencode.spec
+++ b/qrencode.spec
@@ -1,6 +1,6 @@
 Name:           qrencode
 Version:        3.2.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Generate QR 2D barcodes
 
 Group:          Applications/Engineering
@@ -61,6 +61,12 @@ sh test_all.sh
 
 
 %changelog
+* Thu Feb 23 2012 Peter Gordon <peter at thecodergeek.com> - 3.2.0-2
+- Add patch to fix improper LIBPTHREAD macro in the pkgconfig file:
+  + fix-LIBPTHREAD-macro.patch
+- Resolves: #795582 (qrencode-devel: Malformed pkgconfig file causes build to
+  fail ("@LIBPTHREAD@: No such file or directory"))
+
 * Sun Jan 15 2012 Matthieu Saulnier <fantom at fedoraproject.org> - 3.2.0-1
 - update to 3.2.0
 - remove BuildRoot tag in spec file


More information about the scm-commits mailing list