From 3c38fcb4fb676e076e8bf22ec5aeb4715a209272 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Fri, 16 Nov 2001 10:51:32 +0000 Subject: [PATCH] Fix another place where CPUID code doesn't bother to restore original state of the bit 21 of eflags register. This should fix `sigreturn: eflags ...' problem in many threaded GNOME apps. Update is highly recommended to all GNOME users - it improves stability of Nautilus, Balsa etc greatly. --- graphics/gdk-pixbuf/Makefile | 1 + .../files/patch-gdk-pixbuf::pixops::have_mmx.S | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 graphics/gdk-pixbuf/files/patch-gdk-pixbuf::pixops::have_mmx.S diff --git a/graphics/gdk-pixbuf/Makefile b/graphics/gdk-pixbuf/Makefile index 7bfdbaa28daf..3fde3cf3756a 100644 --- a/graphics/gdk-pixbuf/Makefile +++ b/graphics/gdk-pixbuf/Makefile @@ -7,6 +7,7 @@ PORTNAME?= gdk-pixbuf PORTVERSION= 0.13.0 +PORTREVISION= 1 CATEGORIES?= graphics MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= unstable/sources/gdk-pixbuf diff --git a/graphics/gdk-pixbuf/files/patch-gdk-pixbuf::pixops::have_mmx.S b/graphics/gdk-pixbuf/files/patch-gdk-pixbuf::pixops::have_mmx.S new file mode 100644 index 000000000000..84b8fd88b41e --- /dev/null +++ b/graphics/gdk-pixbuf/files/patch-gdk-pixbuf::pixops::have_mmx.S @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- gdk-pixbuf/pixops/have_mmx.S 2001/11/16 10:34:50 1.1 ++++ gdk-pixbuf/pixops/have_mmx.S 2001/11/16 10:35:21 +@@ -19,6 +19,8 @@ + popfl + pushfl + popl %eax ++ pushl %ebx ++ popfl + + cmpl %eax, %ebx +