summaryrefslogtreecommitdiff
path: root/package/usb_modeswitch/usb_modeswitch-1.0.7-build-system-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/usb_modeswitch/usb_modeswitch-1.0.7-build-system-fix.patch')
-rw-r--r--package/usb_modeswitch/usb_modeswitch-1.0.7-build-system-fix.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/package/usb_modeswitch/usb_modeswitch-1.0.7-build-system-fix.patch b/package/usb_modeswitch/usb_modeswitch-1.0.7-build-system-fix.patch
deleted file mode 100644
index 71dbc7a6d..000000000
--- a/package/usb_modeswitch/usb_modeswitch-1.0.7-build-system-fix.patch
+++ /dev/null
@@ -1,29 +0,0 @@
----
- Makefile | 7 +++----
- 1 file changed, 3 insertions(+), 4 deletions(-)
-
-Index: usb_modeswitch-1.0.7/Makefile
-===================================================================
---- usb_modeswitch-1.0.7.orig/Makefile
-+++ usb_modeswitch-1.0.7/Makefile
-@@ -1,8 +1,8 @@
- PROG = usb_modeswitch
- VERS = 1.0.7
- STRIP = strip
--CC = gcc
--CCFLAGS = -l usb -Wall
-+CC ?= gcc
-+CFLAGS += -l usb -Wall
- RM = /bin/rm -f
- OBJS = usb_modeswitch.c
- PREFIX = $(DESTDIR)/usr
-@@ -12,8 +12,7 @@
- .PHONY: clean
- all: $(PROG)
- $(PROG): $(OBJS)
-- $(CC) $(CCFLAGS) -o $(PROG) $(OBJS)
-- $(STRIP) $(PROG)
-+ $(CC) $(CFLAGS) -o $(PROG) $(OBJS)
-
- clean:
- $(RM) ./usb_modeswitch