Date: Wed, 2 Feb 2005 19:44:39 +0100 (CET) From: Florent Thoumie <flz@xbsd.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/77030: Update port: www/osb-browser - unbreak on 64bit archs and fix packing list. Message-ID: <20050202184439.78620119FA@gate.xbsd.org> Resent-Message-ID: <200502021850.j12IoLe8008786@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77030 >Category: ports >Synopsis: Update port: www/osb-browser - unbreak on 64bit archs and fix packing list. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Feb 02 18:50:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Florent Thoumie >Release: FreeBSD 5.3-RELEASE i386 >Organization: Xbsd.org >Environment: System: FreeBSD gate.xbsd.org 5.3-RELEASE FreeBSD 5.3-RELEASE #2: Wed Nov 24 16:35:34 CET 2004 root@gate.xbsd.org:/usr/src/sys/i386/compile/GATE i386 >Description: Fix compilation on 64-bits architectures, tested on amd64 only though. Fix packing list. >How-To-Repeat: >Fix: --- osb-browser.diff begins here --- diff -ruN osb-browser.orig/Makefile osb-browser/Makefile --- osb-browser.orig/Makefile Tue Feb 1 12:00:35 2005 +++ osb-browser/Makefile Wed Feb 2 19:29:23 2005 @@ -26,7 +26,7 @@ .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 || ${ARCH}=="sparc64" +.if ${OSVERSION} < 500000 BROKEN= Does not compile .endif diff -ruN osb-browser.orig/files/patch-src::callbacks.c osb-browser/files/patch-src::callbacks.c --- osb-browser.orig/files/patch-src::callbacks.c Thu Jan 1 01:00:00 1970 +++ osb-browser/files/patch-src::callbacks.c Tue Feb 1 11:53:57 2005 @@ -0,0 +1,173 @@ +--- src/callbacks.c.orig Tue Feb 1 11:46:56 2005 ++++ src/callbacks.c Tue Feb 1 11:49:59 2005 +@@ -101,7 +101,7 @@ + on_file_open_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + } + + +@@ -136,7 +136,7 @@ + on_cut1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + } + + +@@ -144,7 +144,7 @@ + on_copy1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + } + + +@@ -152,7 +152,7 @@ + on_paste1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + } + + +@@ -160,7 +160,7 @@ + on_edit_profiles1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + } + + +@@ -168,7 +168,7 @@ + on_go1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + } + + +@@ -177,7 +177,7 @@ + on_history1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + + } + +@@ -186,7 +186,7 @@ + on_bookmarks1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + + } + +@@ -195,7 +195,7 @@ + on_add1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + + } + +@@ -204,7 +204,7 @@ + on_manage1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + + } + +@@ -213,7 +213,7 @@ + on_tools1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + + } + +@@ -222,7 +222,7 @@ + on_preferences1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + + } + +@@ -239,7 +239,7 @@ + on_about1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + + } + +@@ -248,7 +248,7 @@ + on_stop_activate (GtkButton *button, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + + } + +@@ -258,7 +258,7 @@ + on_exec_activate (GtkButton *button, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + } + + +@@ -266,7 +266,7 @@ + on_quit2_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + } + + +@@ -274,7 +274,7 @@ + on_new1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + } + + +@@ -282,7 +282,7 @@ + on_delete1_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + } + + +@@ -290,7 +290,7 @@ + on_cut2_activate (GtkMenuItem *menuitem, + gpointer user_data) + { +- g_warning ("%s, user_data: %x", __PRETTY_FUNCTION__, (guint) user_data); ++ g_warning ("%s, user_data: %p", __PRETTY_FUNCTION__, user_data); + } + + diff -ruN osb-browser.orig/files/patch-src::osb-browser.c osb-browser/files/patch-src::osb-browser.c --- osb-browser.orig/files/patch-src::osb-browser.c Thu Jan 1 01:00:00 1970 +++ osb-browser/files/patch-src::osb-browser.c Tue Feb 1 11:54:19 2005 @@ -0,0 +1,11 @@ +--- src/osb-browser.c.orig Tue Feb 1 11:50:56 2005 ++++ src/osb-browser.c Tue Feb 1 11:51:33 2005 +@@ -127,7 +127,7 @@ + static void + _weak_notify(gpointer data, GObject *was) + { +- g_warning("Destroyed: %s at %x\n", (const char*) data, (int) was); ++ g_warning("Destroyed: %s at %p\n", (const char*) data, was); + } + + diff -ruN osb-browser.orig/pkg-plist osb-browser/pkg-plist --- osb-browser.orig/pkg-plist Tue Feb 1 12:00:35 2005 +++ osb-browser/pkg-plist Tue Feb 1 12:00:52 2005 @@ -1,4 +1,4 @@ bin/osb-browser share/gnome/osb-browser/default-location-icon.png share/gnome/osb-browser/osb-browser.glade -@dirrm share/gnome/osb-browse +@dirrm share/gnome/osb-browser --- osb-browser.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050202184439.78620119FA>