rev 17249 - in trunk/packages/kdebase/debian: . patches

Sune Vuorela pusling-guest at alioth.debian.org
Mon Mar 1 10:38:24 UTC 2010


Author: pusling-guest
Date: 2010-03-01 10:38:23 +0000 (Mon, 01 Mar 2010)
New Revision: 17249

Added:
   trunk/packages/kdebase/debian/patches/support_sh4_in_nsplugins.diff
Modified:
   trunk/packages/kdebase/debian/changelog
   trunk/packages/kdebase/debian/patches/series
Log:
Add patch to support sh4 architecture. Thanks to Nobuhiro Iwamatsu.
Closes: 562504

Modified: trunk/packages/kdebase/debian/changelog
===================================================================
--- trunk/packages/kdebase/debian/changelog	2010-03-01 10:30:31 UTC (rev 17248)
+++ trunk/packages/kdebase/debian/changelog	2010-03-01 10:38:23 UTC (rev 17249)
@@ -1,4 +1,4 @@
-kdebase (4:4.4.1-0r1) UNRELEASED; urgency=low
+kdebase (4:4.4.1-0r2) UNRELEASED; urgency=low
 
   * New upstream release (Closes: #568776):
     - does no more close the window when entering a new adblock filter and
@@ -34,6 +34,10 @@
   [ Pino Toscano ]
   * Register the konqueror manpage as slave in the x-www-browser alternative.
 
+  [ Sune Vuorela ]
+  * Add patch to support sh4 architecture. Thanks to Nobuhiro Iwamatsu.
+    Closes: 562504
+
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sun, 28 Feb 2010 19:09:23 +0200
 
 kdebase (4:4.3.4-1) unstable; urgency=low

Modified: trunk/packages/kdebase/debian/patches/series
===================================================================
--- trunk/packages/kdebase/debian/patches/series	2010-03-01 10:30:31 UTC (rev 17248)
+++ trunk/packages/kdebase/debian/patches/series	2010-03-01 10:38:23 UTC (rev 17249)
@@ -1 +1,2 @@
 debian-T-addition.diff
+support_sh4_in_nsplugins.diff

Added: trunk/packages/kdebase/debian/patches/support_sh4_in_nsplugins.diff
===================================================================
--- trunk/packages/kdebase/debian/patches/support_sh4_in_nsplugins.diff	                        (rev 0)
+++ trunk/packages/kdebase/debian/patches/support_sh4_in_nsplugins.diff	2010-03-01 10:38:23 UTC (rev 17249)
@@ -0,0 +1,53 @@
+
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=562504
+
+--- a/apps/nsplugins/sdk/prcpucfg.h	2009-12-24 13:33:55.000000000 +0900
++++ b/apps/nsplugins/sdk/prcpucfg.h	2009-12-24 13:43:53.000000000 +0900
+@@ -600,6 +600,47 @@
+ #define PR_BYTES_PER_WORD_LOG2   2
+ #define PR_BYTES_PER_DWORD_LOG2  3
+ 
++#elif defined(__sh__)
++
++#ifdef __LITTLE_ENDIAN__
++#define IS_LITTLE_ENDIAN 1
++#undef  IS_BIG_ENDIAN
++#else
++#define IS_BIG_ENDIAN 1
++#undef  IS_LITTLE_ENDIAN
++#endif
++
++#define PR_BYTES_PER_BYTE	1
++#define PR_BYTES_PER_SHORT	2
++#define PR_BYTES_PER_INT	4
++#define PR_BYTES_PER_INT64	8
++#define PR_BYTES_PER_LONG	4
++#define PR_BYTES_PER_FLOAT	4
++#define PR_BYTES_PER_DOUBLE	8
++#define PR_BYTES_PER_WORD	4
++#define PR_BYTES_PER_DWORD	8
++
++#define PR_BITS_PER_BYTE	8
++#define PR_BITS_PER_SHORT	16
++#define PR_BITS_PER_INT		32
++#define PR_BITS_PER_INT64	64
++#define PR_BITS_PER_LONG	32
++#define PR_BITS_PER_FLOAT	32
++#define PR_BITS_PER_DOUBLE	64
++#define PR_BITS_PER_WORD	32
++
++#define PR_ALIGN_OF_SHORT	2
++#define PR_ALIGN_OF_INT		4
++#define PR_ALIGN_OF_LONG	4
++#define PR_ALIGN_OF_INT64	8
++#define PR_ALIGN_OF_FLOAT	4
++#define PR_ALIGN_OF_DOUBLE	8
++#define PR_ALIGN_OF_POINTER	4
++#define PR_ALIGN_OF_WORD	4
++
++#define PR_BYTES_PER_WORD_LOG2	2
++#define PR_BYTES_PER_DWORD_LOG2	3
++
+ #else
+ 
+ #error "Unknown CPU architecture"




More information about the pkg-kde-commits mailing list