[packages/usb-modeswitch] - updated to 1.2.4 - updated makefile patch

qboosh qboosh at pld-linux.org
Sat Sep 1 22:04:03 CEST 2012


commit ac48a90421def08d8dd50d0edd01449d7a8ce7a7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 1 22:04:17 2012 +0200

    - updated to 1.2.4
    - updated makefile patch

 usb-modeswitch-makefile.patch | 10 +++++-----
 usb-modeswitch.spec           |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/usb-modeswitch.spec b/usb-modeswitch.spec
index 998a897..a5f7965 100644
--- a/usb-modeswitch.spec
+++ b/usb-modeswitch.spec
@@ -1,12 +1,12 @@
 Summary:	Switching tool for controlling "flip flop" USB devices
 Summary(pl.UTF-8):	Narzędzie do sterowania przełączającymi się urządzeniami USB
 Name:		usb-modeswitch
-Version:	1.2.3
+Version:	1.2.4
 Release:	1
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://www.draisberghof.de/usb_modeswitch/%{name}-%{version}.tar.bz2
-# Source0-md5:	9b29e8b0d93d7604a9e5efc4696d37a3
+# Source0-md5:	dbd4ce7966d7b4a5a0604a8280f7164d
 Patch0:		%{name}-makefile.patch
 URL:		http://www.draisberghof.de/usb_modeswitch/
 BuildRequires:	libusb-compat-devel >= 0.1
diff --git a/usb-modeswitch-makefile.patch b/usb-modeswitch-makefile.patch
index 92ab3bc..ff57b62 100644
--- a/usb-modeswitch-makefile.patch
+++ b/usb-modeswitch-makefile.patch
@@ -1,7 +1,7 @@
---- usb-modeswitch-1.2.0/Makefile.orig	2011-10-23 16:38:44.000000000 +0200
-+++ usb-modeswitch-1.2.0/Makefile	2011-10-27 18:46:33.148660325 +0200
+--- usb-modeswitch-1.2.4/Makefile.orig	2012-08-12 17:21:10.000000000 +0200
++++ usb-modeswitch-1.2.4/Makefile	2012-09-01 22:02:56.823006830 +0200
 @@ -2,6 +2,8 @@
- VERS        = 1.2.0
+ VERS        = 1.2.4
  CC          = gcc
  CFLAGS      += -Wall
 +CPPFLAGS    =
@@ -12,7 +12,7 @@
 @@ -21,7 +23,7 @@
  static: $(PROG) dispatcher-static
  
- $(PROG): $(OBJS)
+ $(PROG): $(OBJS) usb_modeswitch.h
 -	$(CC) -o $(PROG) $(OBJS) $(CFLAGS) $(LIBS) $(LDFLAGS)
 +	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
  
@@ -21,7 +21,7 @@
 @@ -46,7 +48,7 @@
  	cd jim && $(MAKE) distclean
  
- install-common:
+ install-common: all
 -	install -D -s --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch
 +	install -D --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch
  	install -D --mode=755 usb_modeswitch.sh $(UDEVDIR)/usb_modeswitch
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/usb-modeswitch.git/commitdiff/ac48a90421def08d8dd50d0edd01449d7a8ce7a7



More information about the pld-cvs-commit mailing list