aboutsummaryrefslogtreecommitdiffstats
path: root/www/osb-browser
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-02-18 19:05:07 +0800
committerkrion <krion@FreeBSD.org>2005-02-18 19:05:07 +0800
commit87c73e827a142843a9cd818d6575865bc55e6c1f (patch)
treed11c388dcbbad98e84448052c25fc5a171d92afd /www/osb-browser
parent1bc2805a0c2bc30e9fcf6f17eb20b7ef3f242219 (diff)
downloadfreebsd-ports-gnome-87c73e827a142843a9cd818d6575865bc55e6c1f.tar.gz
freebsd-ports-gnome-87c73e827a142843a9cd818d6575865bc55e6c1f.tar.zst
freebsd-ports-gnome-87c73e827a142843a9cd818d6575865bc55e6c1f.zip
Fix build on 64bit archs.
PR: ports/77030 Submitted by: Florent Thoumie <flz at xbsd dot org>
Diffstat (limited to 'www/osb-browser')
-rw-r--r--www/osb-browser/Makefile2
-rw-r--r--www/osb-browser/files/patch-src::callbacks.c173
-rw-r--r--www/osb-browser/files/patch-src::osb-browser.c11
3 files changed, 185 insertions, 1 deletions
diff --git a/www/osb-browser/Makefile b/www/osb-browser/Makefile
index e3dcb2386829..ad6a7e863b65 100644
--- a/www/osb-browser/Makefile
+++ b/www/osb-browser/Makefile
@@ -26,7 +26,7 @@ CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000 || ${ARCH}=="sparc64"
+.if ${OSVERSION} < 500000
BROKEN= Does not compile
.endif
diff --git a/www/osb-browser/files/patch-src::callbacks.c b/www/osb-browser/files/patch-src::callbacks.c
new file mode 100644
index 000000000000..6ca21d927eac
--- /dev/null
+++ b/www/osb-browser/files/patch-src::callbacks.c
@@ -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 --git a/www/osb-browser/files/patch-src::osb-browser.c b/www/osb-browser/files/patch-src::osb-browser.c
new file mode 100644
index 000000000000..a440506fa9ed
--- /dev/null
+++ b/www/osb-browser/files/patch-src::osb-browser.c
@@ -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);
+ }
+
+