r388 - in /packages/gnash/trunk/debian: changelog patches/series patches/sh4_support.patch rules
miriam at users.alioth.debian.org
miriam at users.alioth.debian.org
Sun Feb 28 17:15:24 UTC 2010
Author: miriam
Date: Sun Feb 28 17:15:20 2010
New Revision: 388
URL: http://svn.debian.org/wsvn/pkg-flash/?sc=1&rev=388
Log:
Added support for Renesas SH4. Closes: #563167
Added:
packages/gnash/trunk/debian/patches/sh4_support.patch
Modified:
packages/gnash/trunk/debian/changelog
packages/gnash/trunk/debian/patches/series
packages/gnash/trunk/debian/rules
Modified: packages/gnash/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-flash/packages/gnash/trunk/debian/changelog?rev=388&op=diff
==============================================================================
--- packages/gnash/trunk/debian/changelog (original)
+++ packages/gnash/trunk/debian/changelog Sun Feb 28 17:15:20 2010
@@ -7,6 +7,9 @@
* Changed short descriptions so that "aptitude search flash" finds this
package. Closes: #522865
* Fix debian/*.desktop.in files. Closes: #475853
+ * Thanks to Petter Reinholdtsen <pere at hungry.com>
+ * debian/rules: Added --without-included-ltdl to ./configure. See #559808
+ * Added support for Renesas SH4. Closes: #563167
-- Miriam Ruiz <little_miry at yahoo.es> Fri, 19 Feb 2010 23:25:26 +0100
Modified: packages/gnash/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-flash/packages/gnash/trunk/debian/patches/series?rev=388&op=diff
==============================================================================
--- packages/gnash/trunk/debian/patches/series (original)
+++ packages/gnash/trunk/debian/patches/series Sun Feb 28 17:15:20 2010
@@ -6,3 +6,4 @@
release_version.patch
#libltdl.patch
build_on_ia64.patch
+sh4_support.patch
Added: packages/gnash/trunk/debian/patches/sh4_support.patch
URL: http://svn.debian.org/wsvn/pkg-flash/packages/gnash/trunk/debian/patches/sh4_support.patch?rev=388&op=file
==============================================================================
--- packages/gnash/trunk/debian/patches/sh4_support.patch (added)
+++ packages/gnash/trunk/debian/patches/sh4_support.patch Sun Feb 28 17:15:20 2010
@@ -1,0 +1,54 @@
+# Support for Renesas SH4
+# Thanks to Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
+# See: http://bugs.debian.org/563167
+
+--- a/plugin/mozilla-sdk/include/prcpucfg-glibc.h
++++ b/plugin/mozilla-sdk/include/prcpucfg-glibc.h
+@@ -689,6 +689,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"
Modified: packages/gnash/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-flash/packages/gnash/trunk/debian/rules?rev=388&op=diff
==============================================================================
--- packages/gnash/trunk/debian/rules (original)
+++ packages/gnash/trunk/debian/rules Sun Feb 28 17:15:20 2010
@@ -78,6 +78,7 @@
--enable-shared=yes \
--enable-lotsa-warnings \
--without-gcc-arch\
+ --without-included-ltdl
config: config-stamp
config-stamp: patch-stamp
More information about the pkg-flash-devel
mailing list