Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=cc9e0da03c4a4e7733b863296e3cdb642fb804b5

commit cc9e0da03c4a4e7733b863296e3cdb642fb804b5
Author: Marius Cirsta <[email protected]>
Date:   Sun Feb 2 20:46:40 2014 +0200

Revert "windowmaker-0.92.0-6-x86_64"

This reverts commit 08f80b0710a3845c6aac08131c138198fac27dcc.

diff --git a/source/x11-extra/windowmaker/windowmaker-0.92.0-x86_64-fix.patch 
b/source/x11-extra/windowmaker/windowmaker-0.92.0-x86_64-fix.patch
new file mode 100644
index 0000000..48107d1
--- /dev/null
+++ b/source/x11-extra/windowmaker/windowmaker-0.92.0-x86_64-fix.patch
@@ -0,0 +1,31 @@
+diff -Naur WindowMaker-0.92.0.orig/configure.ac WindowMaker-0.92.0/configure.ac
+--- WindowMaker-0.92.0.orig/configure.ac       2005-07-04 14:23:20.000000000 
+0200
++++ WindowMaker-0.92.0/configure.ac    2005-07-04 14:27:21.000000000 +0200
+@@ -194,7 +194,19 @@
+
+     # gcc-3.3 or newer complains about some of our stuff without this
+     NOSTRICTALIASING="-fno-strict-aliasing"
++
++    x86=0
++    changequote(,)dnl
++    case "$host_cpu" in
++      i[3456]86) x86=1
++      ;;
++    esac
++    changequote([,])dnl
++    if test "$host_os" != "linux" -a "$host_os" != "linux-gnu" ; then
++      x86=0
++    fi
+
++    if test $x86 = 1 ; then
+     AC_CACHE_CHECK(whether gcc supports x86 inline asm,
+                    ac_cv_c_inline_asm,
+                    [AC_TRY_LINK(,[{int x; asm volatile("movl %%eax, %%ebx\n"::
+@@ -218,6 +230,7 @@
+           mmx_support=yes
+        fi
+     fi
++    fi
+ fi
+ AC_SUBST(NOSTRICTALIASING)
+
diff --git a/source/x11-extra/windowmaker/windowmaker-png-1.4.patch 
b/source/x11-extra/windowmaker/windowmaker-png-1.4.patch
new file mode 100644
index 0000000..cac5c13
--- /dev/null
+++ b/source/x11-extra/windowmaker/windowmaker-png-1.4.patch
@@ -0,0 +1,12 @@
+diff -aur WindowMaker-0.92.0/wrlib/load.c WindowMaker-0.92.0-2/wrlib/load.c
+--- WindowMaker-0.92.0/wrlib/load.c    2004-10-12 13:21:31.000000000 -0500
++++ WindowMaker-0.92.0-2/wrlib/load.c  2010-05-01 12:59:36.000000000 -0500
+@@ -348,7 +348,7 @@
+
+ #ifdef USE_PNG
+     /* check for PNG */
+-    if (png_check_sig(buffer, 8))
++    if (png_sig_cmp(buffer,0,8)==0)
+         return IM_PNG;
+ #endif
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to