]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
isdn4k-utils: Fix build on ARM.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 16 Sep 2012 08:50:52 +0000 (10:50 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 16 Sep 2012 08:50:52 +0000 (10:50 +0200)
Fixes #10086.

16 files changed:
isdn4k-utils/isdn4k-utils.nm
isdn4k-utils/patches/001-isdn4k-utils-0202131200-true.patch [moved from isdn4k-utils/patches/isdn4k-utils-0202131200-true.patch with 100% similarity]
isdn4k-utils/patches/002-isdn4k-utils-CVS-2004-11-18-autoconf25x.patch [moved from isdn4k-utils/patches/isdn4k-utils-CVS-2004-11-18-autoconf25x.patch with 100% similarity]
isdn4k-utils/patches/003-isdn4k-utils-CVS-2006-07-20-capi.patch [moved from isdn4k-utils/patches/isdn4k-utils-CVS-2006-07-20-capi.patch with 100% similarity]
isdn4k-utils/patches/004-isdn4k-utils-CVS-2009-10-20-ipfire.patch [moved from isdn4k-utils/patches/isdn4k-utils-CVS-2009-10-20-ipfire.patch with 100% similarity]
isdn4k-utils/patches/005-isdn4k-utils-CVS-2010-05-01-capi.patch [moved from isdn4k-utils/patches/isdn4k-utils-CVS-2010-05-01-capi.patch with 100% similarity]
isdn4k-utils/patches/006-isdn4k-utils-CVS-2010-05-01-capi-soname.patch [moved from isdn4k-utils/patches/isdn4k-utils-CVS-2010-05-01-capi-soname.patch with 100% similarity]
isdn4k-utils/patches/007-isdn4k-utils-autoconf-2.6.4-quoting.patch [moved from isdn4k-utils/patches/isdn4k-utils-autoconf-2.6.4-quoting.patch with 100% similarity]
isdn4k-utils/patches/008-isdn4k-utils-capiinit.patch [moved from isdn4k-utils/patches/isdn4k-utils-capiinit.patch with 100% similarity]
isdn4k-utils/patches/009-isdn4k-utils-man.patch [moved from isdn4k-utils/patches/isdn4k-utils-man.patch with 100% similarity]
isdn4k-utils/patches/010-isdn4k-utils-misc-overflow-in-capi-subsystem.patch [moved from isdn4k-utils/patches/isdn4k-utils-misc-overflow-in-capi-subsystem.patch with 100% similarity]
isdn4k-utils/patches/011-isdn4k-utils-pppcapiplugin-libdir.patch [moved from isdn4k-utils/patches/isdn4k-utils-pppcapiplugin-libdir.patch with 100% similarity]
isdn4k-utils/patches/012-isdn4k-utils-sh-linux.patch [moved from isdn4k-utils/patches/isdn4k-utils-sh-linux.patch with 100% similarity]
isdn4k-utils/patches/013-isdn4k-utils-statfs.patch [moved from isdn4k-utils/patches/isdn4k-utils-statfs.patch with 100% similarity]
isdn4k-utils/patches/014-ppp-userpass.patch [moved from isdn4k-utils/patches/ppp-userpass.patch with 100% similarity]
isdn4k-utils/patches/015-isdn4k-utils-fix-ipppd.patch [new file with mode: 0644]

index 425cd207e114bb27f98be3b375a394e29b1cdec8..c176834dc653333c5d8b7f6683cc3d77d9094125 100644 (file)
@@ -6,7 +6,7 @@
 name       = isdn4k-utils
 version    = 3.2
 devel_ver  = CVS-2010-05-01
-release    = 7
+release    = 8
 thisapp    = %{name}-%{devel_ver}-patched
 
 groups     = Networking/Tools
diff --git a/isdn4k-utils/patches/015-isdn4k-utils-fix-ipppd.patch b/isdn4k-utils/patches/015-isdn4k-utils-fix-ipppd.patch
new file mode 100644 (file)
index 0000000..ebe9e8e
--- /dev/null
@@ -0,0 +1,23 @@
+*** isdn4k-utils-CVS-2010-05-01-patched/ipppd.org/main.c       1969-12-31 20:03:58.571929416 -0500
+--- isdn4k-utils-CVS-2010-05-01-patched/ipppd/main.c   2012-07-18 05:46:07.636040971 -0400
+***************
+*** 1301,1309 ****
+           * XXX We assume a va_list is either a pointer or an array, so
+           * what gets passed for a va_list is like a void * in some sense.
+           */
+          a = va_arg(args, void *);
+! #if defined(__alpha__) || defined(__sh__)       /* always do this? */
+       n = fmtmsg(buf, buflen + 1, f, a);
+  #else
+       n = vfmtmsg(buf, buflen + 1, f, a);
+  #endif
+--- 1301,1309 ----
+           * XXX We assume a va_list is either a pointer or an array, so
+           * what gets passed for a va_list is like a void * in some sense.
+           */
+          a = va_arg(args, void *);
+! #if defined(__alpha__) || defined(__sh__) || defined ( __arm__ )      /* always do this? */
+       n = fmtmsg(buf, buflen + 1, f, a);
+  #else
+       n = vfmtmsg(buf, buflen + 1, f, a);
+  #endif