ports/146098: [PATCH] devel/libnotifymm: Fix compiler error in notification.h

Greg Larkin glarkin at FreeBSD.org
Tue Apr 27 21:20:04 UTC 2010


>Number:         146098
>Category:       ports
>Synopsis:       [PATCH] devel/libnotifymm: Fix compiler error in notification.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 27 21:20:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Greg Larkin
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD fbsd70.entropy.prv 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
This patch removes some duplicate semicolons in notification.h that cause
compiler errors.  This was noticed during development of a new port.

Added file(s):
- files/patch-libnotify__libnotifymm__notification.h

Port maintainer (gnome at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- libnotifymm-0.6.1_4.patch begins here ---
Index: files/patch-libnotify__libnotifymm__notification.h
===================================================================
RCS file: files/patch-libnotify__libnotifymm__notification.h
diff -N files/patch-libnotify__libnotifymm__notification.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-libnotify__libnotifymm__notification.h	27 Apr 2010 21:11:12 -0000
@@ -0,0 +1,50 @@
+--- ./libnotify/libnotifymm/notification.h.orig	2010-04-23 11:36:40.000000000 -0400
++++ ./libnotify/libnotifymm/notification.h	2010-04-23 11:37:20.000000000 -0400
+@@ -191,7 +191,7 @@
+    * location. If @a attach is <tt>0</tt>, the widget will be unset.
+    * @param attach The widget to attach to, or <tt>0</tt>.
+    */
+-  void attach_to_widget(Gtk::Widget& attach);;
++  void attach_to_widget(Gtk::Widget& attach);
+   
+   /** Attaches the notification to a Gtk::StatusIcon. This will set hints on the
+    * notification requesting that the notification point to the status icon's
+@@ -303,17 +303,16 @@
+    * specified callback function will be called.
+    */
+    void add_action(const Glib::ustring& action, const Glib::ustring& label, const SlotInvokeAction& slot);
+-  ;
+   
+   
+   /** Clears all hints from the notification.
+    */
+-  void clear_hints();;
++  void clear_hints();
+     
+   
+   /** Clears all actions from the notification.
+    */
+-  void clear_actions();;
++  void clear_actions();
+   
+   /** Tells the notification server to hide the notification on the screen.
+    * @return <tt>true</tt> if successful. On error, this will return <tt>false</tt> and set
+@@ -324,16 +323,14 @@
+ #else
+   void close(std::auto_ptr<Glib::Error>& error);
+ #endif //GLIBMM_EXCEPTIONS_ENABLED
+-;
+-  
+-  
++ 
++ 
+   /**
+    * @par Prototype:
+    * <tt>void on_my_%closed()</tt>
+    */
+ 
+   Glib::SignalProxy0< void > signal_closed();
+-;
+   
+   //gtkmmproc error: id : property defs lookup failed.
+   #ifdef GLIBMM_PROPERTIES_ENABLED
--- libnotifymm-0.6.1_4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list