public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/shotwell/files: shotwell-0.10.1-libraw-config.patch
@ 2011-07-09 21:39 Christoph Mende (angelos)
  0 siblings, 0 replies; only message in thread
From: Christoph Mende (angelos) @ 2011-07-09 21:39 UTC (permalink / raw
  To: gentoo-commits

angelos     11/07/09 21:39:57

  Added:                shotwell-0.10.1-libraw-config.patch
  Log:
  Fix compilation with current libraw (bug #374409, patch by Tim Harder)
  
  (Portage version: 2.2.0_alpha43/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-gfx/shotwell/files/shotwell-0.10.1-libraw-config.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/shotwell/files/shotwell-0.10.1-libraw-config.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/shotwell/files/shotwell-0.10.1-libraw-config.patch?rev=1.1&content-type=text/plain

Index: shotwell-0.10.1-libraw-config.patch
===================================================================
diff --git a/libraw-config b/libraw-config
index 2ddfb6d..dc49ebf 100755
--- a/libraw-config
+++ b/libraw-config
@@ -59,9 +59,9 @@ libs() {
 
 # TODO: Cannot check version of library if no .pc file installed.
 exists() {
-    if pkg-config --silence-errors --exists 'libraw_r >= $3'; then
+    if pkg-config --silence-errors --exists "libraw_r >= $1"; then
         :
-    elif pkg-config --silence-errors --exists 'libraw >= $3'; then
+    elif pkg-config --silence-errors --exists "libraw >= $1"; then
         :
     elif ! searchpath $LIB_DIRS "libraw_r.a" || ! searchpath $HEADER_DIRS "libraw/libraw.h"; then
         printf "\nPackage libraw not found\n"






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-09 21:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-09 21:39 [gentoo-commits] gentoo-x86 commit in media-gfx/shotwell/files: shotwell-0.10.1-libraw-config.patch Christoph Mende (angelos)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox