~ubuntu-branches/ubuntu/precise/sup/precise

« back to all changes in this revision

Viewing changes to debian/patches/05_unconst.patch

  • Committer: Bazaar Package Importer
  • Author(s): Jochen Friedrich
  • Date: 2009-10-20 17:18:49 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20091020171849-76d7gzmhnvns6jof
Tags: 20091019-1
* Update to new upstream snapshot.
* Convert to debhelper 7 and quilt.
* Fix compile on GNU/kFreeBSD. (Closes: #403816)
* Add patch to fix man pages.
* Bumped standards version to 3.8.3.
* Update Makefile patch to not strip any binaries. (Closes: #438074)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: sup-20091019/skipto.c
 
2
===================================================================
 
3
--- sup-20091019.orig/skipto.c  2009-10-20 17:57:21.000000000 +0200
 
4
+++ sup-20091019/skipto.c       2009-10-20 17:57:29.000000000 +0200
 
5
@@ -55,6 +55,10 @@
 
6
 #include "supcdefs.h"
 
7
 #include "supextern.h"
 
8
 
 
9
+#ifndef __UNCONST
 
10
+#define __UNCONST(a) ((void *)(unsigned long)(const void *)(a))
 
11
+#endif
 
12
+
 
13
 static char tab[256] = { 0 };
 
14
 
 
15
 char *