From 2eb9bbf5a5bfcff4c5cc9bbcd8c85d8c07591fc6 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Fri, 14 Feb 2014 14:36:58 +0000 Subject: - STAGE-clean - Add LICENSE - Fix compiler warnings --- x11-wm/obpager/files/patch-src_OBPager.cc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 x11-wm/obpager/files/patch-src_OBPager.cc (limited to 'x11-wm/obpager/files/patch-src_OBPager.cc') diff --git a/x11-wm/obpager/files/patch-src_OBPager.cc b/x11-wm/obpager/files/patch-src_OBPager.cc new file mode 100644 index 000000000000..5cedde9ee0f1 --- /dev/null +++ b/x11-wm/obpager/files/patch-src_OBPager.cc @@ -0,0 +1,20 @@ +--- src/OBPager.cc.orig 2014-02-14 15:35:01.000000000 +0100 ++++ src/OBPager.cc 2014-02-14 15:39:12.000000000 +0100 +@@ -159,7 +159,7 @@ + * @param displayName is the name of the display to connect to + */ + +-void OBPager::connectToXServer(char *displayName) ++void OBPager::connectToXServer(const char *displayName) + { + // Connect to the user-specified desktop or whatever is in $DISPLAY? + +@@ -301,7 +301,7 @@ + int maxHeight = height; + int minWidth = width; + int minHeight = height; +- char* appName = APPLET_NAME; ++ char appName[] = APPLET_NAME; + unsigned long borderColour = BlackPixel(mDisplay(), mScreenNum); + unsigned long backgroundColour = BlackPixel(mDisplay(), mScreenNum); + -- cgit v1.2.3