[csw-devel] SF.net SVN: gar:[21598] csw/mgar/pkg/dmenu/trunk/files/ 0001-Assorted-changes-to-make-it-compile.patch

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu Aug 1 01:27:08 CEST 2013


Revision: 21598
          http://gar.svn.sourceforge.net/gar/?rev=21598&view=rev
Author:   wahwah
Date:     2013-07-31 23:27:08 +0000 (Wed, 31 Jul 2013)
Log Message:
-----------
dmenu/trunk: Delete an unused file

Removed Paths:
-------------
    csw/mgar/pkg/dmenu/trunk/files/0001-Assorted-changes-to-make-it-compile.patch

Deleted: csw/mgar/pkg/dmenu/trunk/files/0001-Assorted-changes-to-make-it-compile.patch
===================================================================
--- csw/mgar/pkg/dmenu/trunk/files/0001-Assorted-changes-to-make-it-compile.patch	2013-07-31 23:25:29 UTC (rev 21597)
+++ csw/mgar/pkg/dmenu/trunk/files/0001-Assorted-changes-to-make-it-compile.patch	2013-07-31 23:27:08 UTC (rev 21598)
@@ -1,87 +0,0 @@
-From 60a35b1739bbb86e149aca4ed523db6fcc4c00b9 Mon Sep 17 00:00:00 2001
-From: Maciej Blizinski <maciej at opencsw.org>
-Date: Wed, 31 Jul 2013 00:36:24 +0200
-Subject: [PATCH] Assorted changes to make it compile
-
----
- Makefile  |  9 +++------
- config.mk | 13 +++++++------
- dmenu.c   |  2 ++
- 3 files changed, 12 insertions(+), 12 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index c127f6a..a8ab397 100644
---- a/Makefile
-+++ b/Makefile
-@@ -15,18 +15,15 @@ options:
- 	@echo "CC       = ${CC}"
- 
- .c.o:
--	@echo CC -c $<
--	@${CC} -c $< ${CFLAGS}
-+	${CC} -c $< ${CFLAGS}
- 
- ${OBJ}: config.mk draw.h
- 
- dmenu: dmenu.o draw.o
--	@echo CC -o $@
--	@${CC} -o $@ dmenu.o draw.o ${LDFLAGS}
-+	${CC} -o $@ dmenu.o draw.o ${LDFLAGS}
- 
- stest: stest.o
--	@echo CC -o $@
--	@${CC} -o $@ stest.o ${LDFLAGS}
-+	${CC} -o $@ stest.o ${LDFLAGS}
- 
- clean:
- 	@echo cleaning
-diff --git a/config.mk b/config.mk
-index 92a5e63..3161d1c 100644
---- a/config.mk
-+++ b/config.mk
-@@ -2,11 +2,11 @@
- VERSION = 4.5
- 
- # paths
--PREFIX = /usr/local
-+PREFIX = /opt/csw
- MANPREFIX = ${PREFIX}/share/man
- 
--X11INC = /usr/X11R6/include
--X11LIB = /usr/X11R6/lib
-+X11INC = /usr/openwin/share/include
-+X11LIB = /usr/openwin/lib
- 
- # Xinerama, comment if you don't want it
- XINERAMALIBS  = -lXinerama
-@@ -17,10 +17,11 @@ INCS = -I${X11INC}
- LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
- 
- # flags
--CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-+# CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-+CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
- #CFLAGS   = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
--CFLAGS   = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-+CFLAGS   = -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
- LDFLAGS  = -s ${LIBS}
- 
- # compiler and linker
--CC = cc
-+CC = gcc
-diff --git a/dmenu.c b/dmenu.c
-index 4ea95f8..cac3c58 100644
---- a/dmenu.c
-+++ b/dmenu.c
-@@ -12,6 +12,8 @@
- #include <X11/extensions/Xinerama.h>
- #endif
- #include "draw.h"
-+#include <sys/ddi.h>
-+#include <X11/keysym.h>
- 
- #define INTERSECT(x,y,w,h,r)  (MAX(0, MIN((x)+(w),(r).x_org+(r).width)  - MAX((x),(r).x_org)) \
-                              * MAX(0, MIN((y)+(h),(r).y_org+(r).height) - MAX((y),(r).y_org)))
--- 
-1.8.3.1
-

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list