diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2014-02-14 14:36:58 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2014-02-14 14:36:58 +0000 |
commit | 2eb9bbf5a5bfcff4c5cc9bbcd8c85d8c07591fc6 (patch) | |
tree | 5a40b7d14415a73b946e63713c7c7a797efa2e17 /x11-wm/obpager/files/patch-src_OBPager.cc | |
parent | - use STAGEDIR (diff) |
- STAGE-clean
- Add LICENSE
- Fix compiler warnings
Diffstat (limited to '')
-rw-r--r-- | x11-wm/obpager/files/patch-src_OBPager.cc | 20 |
1 files changed, 20 insertions, 0 deletions
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); + |