~ubuntu-branches/ubuntu/precise/rpcbind/precise

« back to all changes in this revision

Viewing changes to debian/patches/04-610718-non-linux.patch

  • Committer: Bazaar Package Importer
  • Author(s): Luk Claes
  • Date: 2011-03-12 17:53:51 UTC
  • Revision ID: james.westby@ubuntu.com-20110312175351-qfk9bhgn2i4g4wp1
Tags: 0.2.0-5
* Add insserv.conf.d file to provide virtual $portmap facility.
  Closes: #565201,#591338
* Avoid rpcbind getting killed to early when shutting down.
  Closes: #593164
* Also create rc*.d links for [2-5]. Closes: #594608
* Minor improvements of init script. Closes: #589486
* Fix FTBFS on kFreeBSD. Closes: #610718

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: rpcbind-0.2.0/src/security.c
 
2
===================================================================
 
3
--- rpcbind-0.2.0.orig/src/security.c   2011-03-12 17:52:51.000000000 +0100
 
4
+++ rpcbind-0.2.0/src/security.c        2011-03-12 17:53:48.000000000 +0100
 
5
@@ -53,7 +53,7 @@
 
6
 #ifndef PORTMAP_LOG_SEVERITY
 
7
 # define PORTMAP_LOG_SEVERITY LOG_INFO
 
8
 #endif
 
9
-#ifdef __linux__
 
10
+#if defined(INET6) && !defined(IPV6PORT_RESERVED)
 
11
  #define IPV6PORT_RESERVED IPPORT_RESERVED
 
12
 #endif
 
13