diff options
author | dougb <dougb@FreeBSD.org> | 2012-02-24 16:14:00 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2012-02-24 16:14:00 +0800 |
commit | 07db3dc0f77071835f7b2c2cc0654a16823c8fe1 (patch) | |
tree | 3969e8b383847a6cca7e60c738bc6aeb6cf8aa25 | |
parent | 8028e4b720bd066321c8d642c45ddb10f82d27f8 (diff) | |
download | freebsd-ports-gnome-07db3dc0f77071835f7b2c2cc0654a16823c8fe1.tar.gz freebsd-ports-gnome-07db3dc0f77071835f7b2c2cc0654a16823c8fe1.tar.zst freebsd-ports-gnome-07db3dc0f77071835f7b2c2cc0654a16823c8fe1.zip |
Use logical negation instead of comparison to 0 for a value that can
be numeric, but is null by default.
Currently in discussion upstream, but this change is confirmed to at
least fix the symptom of not properly restoring the session on restart.
-rw-r--r-- | x11-wm/windowmaker/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile index 8a9a5555bf8e..e742e8609323 100644 --- a/x11-wm/windowmaker/Makefile +++ b/x11-wm/windowmaker/Makefile @@ -73,6 +73,8 @@ pre-patch: ${WRKSRC}/WPrefs.app/Paths.c @${REINPLACE_CMD} -e "s#WPrefs#${PREFIX}/GNUstep/Applications/WPrefs.app/WPrefs#" \ ${WRKSRC}/util/wmgenmenu.c + @${REINPLACE_CMD} -e "764s#wPreferences.flags.restarting == 0#!wPreferences.flags.restarting#" \ + ${WRKSRC}/src/startup.c post-install: @${MKDIR} ${PREFIX}/GNUstep/Applications/WPrefs.app/xpm |