summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/opkg/files/.mtn2git_empty0
-rw-r--r--packages/opkg/files/fix_endianness.patch12
-rw-r--r--packages/opkg/opkg.inc3
-rw-r--r--packages/opkg/opkg_svn.bb2
4 files changed, 15 insertions, 2 deletions
diff --git a/packages/opkg/files/.mtn2git_empty b/packages/opkg/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/opkg/files/.mtn2git_empty
diff --git a/packages/opkg/files/fix_endianness.patch b/packages/opkg/files/fix_endianness.patch
new file mode 100644
index 0000000000..8632ce5658
--- /dev/null
+++ b/packages/opkg/files/fix_endianness.patch
@@ -0,0 +1,12 @@
+diff -urN opkg.orig/configure.ac opkg/configure.ac
+--- opkg.orig/configure.ac 2008-03-20 13:29:09.000000000 +0100
++++ opkg/configure.ac 2008-03-25 09:39:52.000000000 +0100
+@@ -94,7 +94,7 @@
+ AC_CHECK_MEMBERS([struct stat.st_rdev])
+
+ # Checks endianness
+-AC_C_BIGENDIAN(ENDIAN_CFLAGS="-DWORDS_BIGENDIAN=1",)
++AC_C_BIGENDIAN(BIGENDIAN_CFLAGS="-DWORDS_BIGENDIAN=1",)
+ AC_SUBST(BIGENDIAN_CFLAGS)
+
+ # Don't do annoying tests that don't work when cross-compiling, just trust them.
diff --git a/packages/opkg/opkg.inc b/packages/opkg/opkg.inc
index 2179f5595e..6459ca78d8 100644
--- a/packages/opkg/opkg.inc
+++ b/packages/opkg/opkg.inc
@@ -5,7 +5,8 @@ LICENSE = "GPL"
DEPENDS = "curl gpgme"
PV = "0.0+svnr${SRCREV}"
-SRC_URI = "svn://svn.openmoko.org/trunk/src/target/;module=opkg;proto=http"
+SRC_URI = "svn://svn.openmoko.org/trunk/src/target/;module=opkg;proto=http \
+ file://fix_endianness.patch;patch=1"
S = "${WORKDIR}/opkg"
inherit autotools pkgconfig
diff --git a/packages/opkg/opkg_svn.bb b/packages/opkg/opkg_svn.bb
index 30461ead4d..81401dda14 100644
--- a/packages/opkg/opkg_svn.bb
+++ b/packages/opkg/opkg_svn.bb
@@ -1,6 +1,6 @@
require opkg.inc
-PR = "r2"
+PR = "r3"
PACKAGES =+ "libopkg-dev libopkg"