summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Malm <gengor@gentoo.org>2009-04-06 23:01:33 +0000
committerGordon Malm <gengor@gentoo.org>2009-04-06 23:01:33 +0000
commit837235d4513173e6d4b6f4c8cd5928dfc6170624 (patch)
treee9a22db91471cef615be8ed2d8e9f9a455885c35 /kde-base/ksmserver/files
parentFixed hicolor icons, thanks ulm, added new upstream patch and fixed doc name ... (diff)
downloadhistorical-837235d4513173e6d4b6f4c8cd5928dfc6170624.tar.gz
historical-837235d4513173e6d4b6f4c8cd5928dfc6170624.tar.bz2
historical-837235d4513173e6d4b6f4c8cd5928dfc6170624.zip
Fix bug 256804 and remove stale files in FILESDIR
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'kde-base/ksmserver/files')
-rw-r--r--kde-base/ksmserver/files/ksmserver-3.5.8-gdm_interop_197133.patch41
-rw-r--r--kde-base/ksmserver/files/ksmserver-4.0.2-linkage.patch11
-rw-r--r--kde-base/ksmserver/files/ksmserver-4.2.1-disable-sse2-for-gcc3.patch17
3 files changed, 17 insertions, 52 deletions
diff --git a/kde-base/ksmserver/files/ksmserver-3.5.8-gdm_interop_197133.patch b/kde-base/ksmserver/files/ksmserver-3.5.8-gdm_interop_197133.patch
deleted file mode 100644
index 5fdc9af1a2e0..000000000000
--- a/kde-base/ksmserver/files/ksmserver-3.5.8-gdm_interop_197133.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- branches/KDE/3.5/kdebase/kdmlib/dmctl.cpp 2006/10/31 11:38:26 600659
-+++ branches/KDE/3.5/kdebase/kdmlib/dmctl.cpp 2007/11/01 22:10:25 731815
-@@ -65,21 +65,28 @@
- if ((fd = ::socket( PF_UNIX, SOCK_STREAM, 0 )) < 0)
- return;
- sa.sun_family = AF_UNIX;
-- if (DMType == GDM)
-- strcpy( sa.sun_path, "/tmp/.gdm_socket" );
-- else {
-+ if (DMType == GDM) {
-+ strcpy( sa.sun_path, "/var/run/gdm_socket" );
-+ if (::connect( fd, (struct sockaddr *)&sa, sizeof(sa) )) {
-+ strcpy( sa.sun_path, "/tmp/.gdm_socket" );
-+ if (::connect( fd, (struct sockaddr *)&sa, sizeof(sa) )) {
-+ ::close( fd );
-+ fd = -1;
-+ break;
-+ }
-+ }
-+ GDMAuthenticate();
-+ } else {
- if ((ptr = strchr( dpy, ':' )))
- ptr = strchr( ptr, '.' );
- snprintf( sa.sun_path, sizeof(sa.sun_path),
- "%s/dmctl-%.*s/socket",
-- ctl, ptr ? ptr - dpy : 512, dpy );
-- }
-- if (::connect( fd, (struct sockaddr *)&sa, sizeof(sa) )) {
-- ::close( fd );
-- fd = -1;
-+ ctl, ptr ? int(ptr - dpy) : 512, dpy );
-+ if (::connect( fd, (struct sockaddr *)&sa, sizeof(sa) )) {
-+ ::close( fd );
-+ fd = -1;
-+ }
- }
-- if (DMType == GDM)
-- GDMAuthenticate();
- break;
- case OldKDM:
- {
diff --git a/kde-base/ksmserver/files/ksmserver-4.0.2-linkage.patch b/kde-base/ksmserver/files/ksmserver-4.0.2-linkage.patch
deleted file mode 100644
index 35f4fcb4fd36..000000000000
--- a/kde-base/ksmserver/files/ksmserver-4.0.2-linkage.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ksmserver/CMakeLists.txt
-+++ ksmserver/CMakeLists.txt
-@@ -32,7 +32,7 @@
-
- kde4_add_kdeinit_executable( ksmserver ${ksmserver_KDEINIT_SRCS})
-
--target_link_libraries(kdeinit_ksmserver plasma solidcontrol kworkspace ${KDE4_KDEUI_LIBS} ${BLITZ_LIBRARIES} ${X11_LIBRARIES})
-+target_link_libraries(kdeinit_ksmserver plasma solidcontrol kworkspace ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${BLITZ_LIBRARIES} ${X11_LIBRARIES})
-
- install(TARGETS kdeinit_ksmserver DESTINATION ${LIB_INSTALL_DIR})
-
diff --git a/kde-base/ksmserver/files/ksmserver-4.2.1-disable-sse2-for-gcc3.patch b/kde-base/ksmserver/files/ksmserver-4.2.1-disable-sse2-for-gcc3.patch
new file mode 100644
index 000000000000..362dd91c2cbe
--- /dev/null
+++ b/kde-base/ksmserver/files/ksmserver-4.2.1-disable-sse2-for-gcc3.patch
@@ -0,0 +1,17 @@
+Added-By: Gordon Malm <gengor@gentoo.org>
+
+Disable SSE2 in fadeeffect for <gcc-4
+
+See: http://bugs.gentoo.org/show_bug.cgi?id=256804
+
+--- a/ksmserver/fadeeffect.cpp
++++ b/ksmserver/fadeeffect.cpp
+@@ -41,7 +41,7 @@
+ # if defined(__MMX__)
+ # define HAVE_MMX
+ # endif
+-# if defined(__SSE2__)
++# if defined(__SSE2__) && __GNUC__ > 3
+ # define HAVE_SSE2
+ # endif
+ #endif