Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a pair of patches so that this package builds on NetBSD/i386.

Some of the assembly files are passed through the C preprocessor,
and that means you can't use # as comment character as it will be
mis-interpreted as an invalid C preprocessing directive.

No revision bump since this is only a build fix.

Comment time-out from last updater of this package.
  • Loading branch information...
commit 659dc718d275d434060466fc835f3027b0a0bbb6 1 parent fa9617e
he authored
View
4 graphics/gdk-pixbuf2/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2010/11/16 16:45:07 drochner Exp $
+$NetBSD: distinfo,v 1.4 2010/11/23 13:05:22 he Exp $
SHA1 (gdk-pixbuf-2.22.1.tar.bz2) = b452208963ddd84f7280865695b50255fcafaa2e
RMD160 (gdk-pixbuf-2.22.1.tar.bz2) = d05d6642e147281b7dc1dd21657595333f13f6f1
@@ -6,3 +6,5 @@ Size (gdk-pixbuf-2.22.1.tar.bz2) = 1543273 bytes
SHA1 (patch-aa) = d5106a1436ad6899c30188c46246a066b13548df
SHA1 (patch-ab) = d18a235ce973ef132e9dc777b1cf029b064c02ef
SHA1 (patch-ac) = f8c8ff3175cee6a88938a0aaa081d3bd832a050d
+SHA1 (patch-ad) = 00b9186e0d3513a518c263b6d2f8350fc977580d
+SHA1 (patch-ae) = d4ad340e16589c579ec964bf95fd951b334adf04
View
26 graphics/gdk-pixbuf2/patches/patch-ad
@@ -0,0 +1,26 @@
+$NetBSD: patch-ad,v 1.1 2010/11/23 13:05:22 he Exp $
+
+This file is passed through the C preprocessor, so we have
+to use C comments to acheive the desired effect, so that these
+are not mis-interpreted as invalid C preprocessing directives.
+
+--- gdk-pixbuf/pixops/have_mmx.S.orig 2010-11-19 11:41:03.000000000 +0000
++++ gdk-pixbuf/pixops/have_mmx.S
+@@ -42,7 +42,7 @@ __pixops_have_mmx:
+
+ push %ebx
+
+-# Check if bit 21 in flags word is writeable
++/* # Check if bit 21 in flags word is writeable */
+
+ pushfl
+ popl %eax
+@@ -57,7 +57,7 @@ __pixops_have_mmx:
+
+ je .notfound
+
+-# OK, we have CPUID
++/* # OK, we have CPUID */
+
+ movl $1, %eax
+ cpuid
View
19 graphics/gdk-pixbuf2/patches/patch-ae
@@ -0,0 +1,19 @@
+$NetBSD: patch-ae,v 1.1 2010/11/23 13:05:22 he Exp $
+
+This file is passed through the C preprocessor, so we have
+to use C comments to acheive the desired effect, so that these
+are not mis-interpreted as invalid C preprocessing directives.
+
+--- gdk-pixbuf/pixops/composite_line_22_4a4_mmx.S.orig 2010-06-25 21:40:10.000000000 +0000
++++ gdk-pixbuf/pixops/composite_line_22_4a4_mmx.S
+@@ -189,8 +189,8 @@ __pixops_composite_line_22_4a4_mmx:
+
+ shll $2, %edx
+
+-# %mm4 will always be already clear here
+-# pxor %mm4, %mm4
++/* # %mm4 will always be already clear here */
++/* # pxor %mm4, %mm4 */
+
+ movl 16(%ebp),%edi
+ movl (%edi, %edx), %eax
Please sign in to comment.
Something went wrong with that request. Please try again.