pkgsrc-WIP-review archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fbpanel fixes



Hello!

I had various issues with wip/fbpanel, like complaining about:
"/usr/pkg/share/fbpanel/plugins/wincmd.so: Undefined symbol "a_NET_WM_STATE" 
(symnum = 16)"
And so on with all of the other plugins.

I have found out that it is a known problem which is caused by some change in 
the gcc default options.
Here's a descripition and solution to the issue: 
http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=360144
I made a modified makefile to include this fix, I don't know if I made it the 
right way.
I also added an include to x11/libXmu, because it wont build without it (at 
least for me, I use Modular Xorg7.2)

I hope I can make more fixes in the future.

Here's the patch made with "cvs diff -uN":

===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/fbpanel/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile    11 Nov 2006 13:26:33 -0000      1.9
+++ Makefile    7 Apr 2007 19:56:26 -0000
@@ -13,6 +13,9 @@
 USE_TOOLS+=            gmake
 HAS_CONFIGURE=         yes
 
+# Fixing broken compile because of changed gcc defaults
+LDFLAGS+= -Wl,-export-dynamic
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "Linux"
@@ -26,5 +29,6 @@
 MAKE_ENV+=             PKGMANDIR=${PKGMANDIR:Q}
 MANCOMPRESSED=         yes
 
+.include "../../x11/libXmu/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
-- 
Adam Hoka <adam.hoka%gmail.com@localhost>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review



Home | Main Index | Thread Index | Old Index