Date: Thursday, January 21, 2010 @ 17:21:25
  Author: eric
Revision: 64691

upgpkg: windowmaker-crm-git 20091221-2
    Rebuilt for libpng 1.4 and libjpeg 8

Added:
  windowmaker-crm-git/trunk/libpng-1.4.patch
Modified:
  windowmaker-crm-git/trunk/PKGBUILD    (contents, properties)

------------------+
 PKGBUILD         |    9 ++++++---
 libpng-1.4.patch |   12 ++++++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2010-01-21 22:13:12 UTC (rev 64690)
+++ PKGBUILD    2010-01-21 22:21:25 UTC (rev 64691)
@@ -1,3 +1,4 @@
+# $Id$
 # Maintainer: Daniel Isenmann <[email protected]>
 
 pkgname=windowmaker-crm-git
@@ -2,3 +3,3 @@
 pkgver=20091221
-pkgrel=1
+pkgrel=2
 pkgdesc="An X11 window manager with a NEXTSTEP look and feel - git version 
from Carlos R. Mafra"
@@ -11,11 +12,13 @@
 options=('!libtool')
 provides=('windowmaker')
 conflicts=('windowmaker')
-source=(ftp://ftp.archlinux.org/other/windowmaker/windowmaker-$pkgver.tar.gz)
-md5sums=('2cc3b4630f52025b78285eda39d62681')
+source=(ftp://ftp.archlinux.org/other/windowmaker/windowmaker-$pkgver.tar.gz 
libpng-1.4.patch)
+md5sums=('2cc3b4630f52025b78285eda39d62681' '1b7c47827419ef62051c0f1c02cb45f0')
+sha1sums=('8c101e75aa1f98867484510898f4c3369f9be386' 
'c446bdb3a8c0d7add45ad6dff05c382cb14ee2b6')
 
 build() {
   cd $srcdir/windowmaker-$pkgver
+  patch -p1 < ../libpng-1.4.patch || return 1
   [ -z "$LINGUAS" ] && export LINGUAS="`ls po/*.po | sed 
's:po/\(.*\)\.po$:\1:'`"
   ./autogen.sh --prefix=/usr --sysconfdir=/etc --enable-xinerama \
     --with-nlsdir=/usr/share/locale --with-gnustepdir=/usr/lib/GNUstep


Property changes on: windowmaker-crm-git/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id

Added: libpng-1.4.patch
===================================================================
--- libpng-1.4.patch                            (rev 0)
+++ libpng-1.4.patch    2010-01-21 22:21:25 UTC (rev 64691)
@@ -0,0 +1,12 @@
+diff -Naur windowmaker-20091221-orig/wrlib/load.c 
windowmaker-20091221/wrlib/load.c
+--- windowmaker-20091221-orig/wrlib/load.c     2010-01-21 17:01:10.000000000 
-0500
++++ windowmaker-20091221/wrlib/load.c  2010-01-21 17:02:38.000000000 -0500
+@@ -327,7 +327,7 @@
+ 
+ #ifdef USE_PNG
+       /* check for PNG */
+-      if (png_check_sig(buffer, 8))
++      if (!png_sig_cmp(buffer, 0, 8))
+               return IM_PNG;
+ #endif
+ 

Reply via email to