~ubuntu-branches/ubuntu/raring/hplip/raring-proposed

« back to all changes in this revision

Viewing changes to debian/patches/hp-mkuri-libnotify-so-4-support.dpatch

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-05-26 11:20:39 UTC
  • mfrom: (1.5.6) (31.1.3 precise)
  • Revision ID: package-import@ubuntu.com-20120526112039-bevxczegxnbyr5m7
Tags: 3.12.4-1
* New upstream release
* Switch to source/format 3.0 (quilt) - drop dpatch
* Refreshed debian/patches
* dh_autoreconf debian/autogen.sh & set local-options single-debian-patch
* Update to debian/compat -> 9
* Fix "hardened build flags" patch from Moritz - thanks (Closes: #667828)
* Fix "duplex descriptor uninitialized" patch from Matej (Closes: #583273)
* Fix "please migrate to kde-runtime" patch from Pino (Closes: #666544)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## hp-mkuri-libnotify-so-4-support.dpatch by  <till.kamppeter@gmail.com>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: No description.
 
6
 
 
7
@DPATCH@
 
8
Index: hplip-3.12.4/io/hpmud/hp-mkuri.c
 
9
===================================================================
 
10
--- hplip-3.12.4.orig/io/hpmud/hp-mkuri.c       2012-05-26 10:21:29.000000000 +1000
 
11
+++ hplip-3.12.4/io/hpmud/hp-mkuri.c    2012-05-26 10:21:30.000000000 +1000
 
12
@@ -265,7 +265,7 @@
 
13
 
 
14
     /* Bypass glib build dependencies by loading libnotify manually. */  
 
15
 
 
16
-    if ((handle = dlopen("libnotify.so.1", RTLD_LAZY)) == NULL)
 
17
+    if ((handle = dlopen("libnotify.so.4", RTLD_LAZY)) == NULL)
 
18
     {
 
19
        BUG("failed to open libnotify: %m\n");
 
20
        goto bugout;